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

Concept MutableVector. More...

#include <vector.hpp>

Inheritance diagram for mtl::MutableVector< T >:

Inheritance graph
[legend]
Collaboration diagram for mtl::MutableVector< T >:

Collaboration graph
[legend]

List of all members.


Detailed Description

template<typename T>
struct mtl::MutableVector< T >

Concept MutableVector.

Refinement of:
Notation:
  • X is a type that models Vector
  • v is an object of type X
  • r are objects of size_type
Valid expressions:
  • Element access:
    v(r)
    Return Type: reference
    Semantics: Element in row r for a column vector or in column c for a row vector
  • Element access:
    v[r]
    Equivalent to v(r)
Models:
  • dense_vector
Note:
  1. If it would become (extremely) important to support 1D C arrays as Vector, it might be necessary to drop the requirement of element access by v(r).

The documentation for this struct was generated from the following file:





mtl::MutableVector< T > Struct Template Reference -- MTL 4 -- Peter Gottschling and Andrew Lumsdaine -- Generated on 19 May 2009 by Doxygen 1.5.5 -- Copyright 2007 by the Trustees of Indiana University.