mtl::AlgebraicCollection< T > Struct Template Reference
[Concepts]
Concept
AlgebraicCollection: common requirements of matrices, vectors, and scalars in computations.
More...
#include <collection.hpp>
List of all members.
Detailed Description
template<typename T>
struct mtl::AlgebraicCollection< T >
Concept
AlgebraicCollection: common requirements of matrices, vectors, and scalars in computations.
For more design clarity we consider them all as matrices (as Matlab does) and we regard Scalar and Vector as special cases (see there). However, the implementation of vectors is supposed to differ from the ones of matrices in order to provide efficient computations and storage.
- Refinement of:
-
- Notation:
-
- Valid expressions:
- Number of rows:
num_rows(x)
Return Type: size_type - Number of columns:
num_cols(x)
Return Type: size_type - Number of elements:
size(x)
Return Type: size_type
Sematics: num_rows(x) * num_cols(x) (but possibly faster implemented)
The documentation for this struct was generated from the following file:
- /usr/src/RPM/BUILD/mtl4-2.r6668.alpha/boost/numeric/mtl/concept/collection.hpp