6 #ifndef VNIX_UNITS_NUMBER_HPP 7 #define VNIX_UNITS_NUMBER_HPP 13 template <
typename S,
int R,
int C,
int OPT,
int MR,
int MC>
class Matrix;
14 template <
typename B,
typename L,
typename R>
class CwiseBinaryOp;
15 template <
typename L,
typename R,
int OPT>
class Product;
23 template <
typename T, size_t NR, size_t NC>
struct mat;
58 template <
typename T>
struct number {};
140 template <
typename T, size_t NR, size_t NC>
149 template <
typename S,
int R,
int C,
int OPT,
int MR,
int MC>
159 template <
typename B,
typename L,
typename R>
169 template <
typename L,
typename R,
int OPT>
Base-struct for wrapper to disambiguate scalar from dimval and protected storage for numeric value as...
constexpr basic_number(T const &vv)
Initialize numeric value and exponents of units.
T v_
Numeric value that multiplies units.
Thomas E. Vaughan's public software.
Classes and functions supporting a model of physically dimensioned quantities.
Generic template for wrapper to disambiguate scalar from dimval and protected storage for numeric val...
basic_number()
By default, do not initialize.