mtl::AlgebraicCollection< T > Struct Template Reference
[Concepts]

Concept AlgebraicCollection: common requirements of matrices, vectors, and scalars in computations. More...

#include <collection.hpp>

Inheritance diagram for mtl::AlgebraicCollection< T >:
mtl::Collection< T > mtl::ConstantSizeAlgebraicCollection< T > mtl::Matrix< T > mtl::Vector< T > mtl::ConstantSizeMatrix< T > mtl::ConstantSizeVector< T > mtl::ConstantSizeMatrix< T > mtl::InsertableMatrix< T > mtl::MutableMatrix< T > mtl::ResizeableMatrix< T > mtl::ConstantSizeVector< T > mtl::MutableVector< T >

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:
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends
Generated by  doxygen 1.6.2-20100208