Namespaces: Internal
Classes: Value
Types: Unit
Functions: cube, operator *, operator /, raise, sqrt, square
A Value with a unit.
typedef Power < Internal::None, 0 > Unit;
Construct a unit equivalent to Unit1*Unit2 Constructs a unit equivalent to U*Num/Den Constructs a Unit equivalent to U+Num/Den Constructs a Unit equivalent to U^(Num/Den) A unit which is effectively no units at all.
template < typename V, typename U > Value < V, Power < U, 3, 1 > > cube(
const Value < V, U > & a
);
template < typename V, typename U > Value < V, U > operator * (
const V & a,
const Value < V, U > & b
);
template < typename V, typename U > Value < V, Power < U, - 1 > > operator / (
const V & a,
const Value < V, U > & b
);
template < int Num, int Den, typename V, typename U > Value < V, Power < U, Num, Den > > raise(
const Value < V, U > & a
);
template < typename V, typename U > Value < V, Power < U, 1, 2 > > sqrt(
const Value < V, U > & a
);
template < typename V, typename U > Value < V, Power < U, 2, 1 > > square(
const Value < V, U > & a
);