|
|
|
|
| Category:utilities |
Component type:type |
|
 |
| Description
|
|
This is similar to the std::pair class except that it can have static
parameters, and only deals with size types. The purpose of this
class is to transparently hide whether the dimensions of a matrix
are specified statically or dynamically.
|
 |
| Example
|
|
|
 |
| Definition
|
|
|
 |
| Template Parameters
|
|
|
 |
| Model of
|
|
|
 |
| Members
|
|
Member
|
Where defined
|
Description
|
|
transpose_type
|
|
|
|
size_type
|
|
|
|
enum
{ M = MM, N = NN }
|
|
|
|
dimension ()
|
|
|
|
dimension (const self& x)
|
|
|
template <class ST>
dimension (const std::pair<ST,ST>& x)
|
|
|
|
m (x.first)
|
|
|
|
dimension&
operator= (const dimension& x)
|
|
|
|
size_type
first () const
|
|
|
|
size_type
second () const
|
|
|
|
bool
is_static () const
|
|
|
|
transpose_type
transpose () const
|
|
|
|
size_type
m, n
|
|
|
|
 |
| New members
|
|
|
 |
| Notes
|
|
|
 |
| See also
|
|
|