exmat::Vec< Rep, ErrChecker_ > Class Template Reference

The Vec vector class. More...

#include <Mat.h>

Inheritance diagram for exmat::Vec< Rep, ErrChecker_ >:

exmat::Mat< Rep, ErrChecker_ > List of all members.

Public Types

enum  { IsRowVec = (Rep::ROWS == 1), IsColVec = (Rep::COLS == 1) }

Public Member Functions

 Vec ()
 Empty constructor.
 Vec (const_param_type s)
 Forward the scalar construction to Mat.
template<typename T1>
 Vec (T1 &t1)
 Generic constructor, which forward the initialization to Mat.
template<typename T1>
 Vec (const T1 &t1)
 Generic constructor, which forward the initialization to Mat.
template<typename T1, typename T2>
 Vec (const T1 &t1, const T2 &t2)
 Generic constructor, which forward the initialization to Mat.
template<typename T1, typename T2, typename T3>
 Vec (T1 &t1, T2 &t2, T3 &t3)
 Generic constructor, which forward the initialization to Mat.
template<typename T1, typename T2, typename T3, typename T4>
 Vec (T1 &t1, T2 &t2, T3 &t3, T4 &t4)
 Generic constructor, which forward the initialization to Mat.
Assignment operators
CommaInitializer< self_typeoperator= (const_param_type v_)
 Assignment operator for use with CommaInitializer.
template<class Rep2, class ErrChk2>
Vecoperator= (const Vec< Rep2, ErrChk2 > &A)
 Assignment operator for Vec of different types.
template<class Rep2, class ErrChk2>
Vecoperator= (const Mat< Rep2, ErrChk2 > &A)
 Assign the Vec from a Mat.
Vecoperator= (const self_type &A)
 Assignment operator for Vec of the same type.
Index operators
To access individual element

reference operator() (index_type i)
const_reference operator() (index_type i) const
reference operator[] (index_type i)
const_reference operator[] (index_type i) const

Detailed Description

template<class Rep, class ErrChecker_ = DefaultErrorChecker>
class exmat::Vec< Rep, ErrChecker_ >

The Vec vector class.

This is a specialization of the Mat class


Member Enumeration Documentation

template<class Rep, class ErrChecker_ = DefaultErrorChecker>
anonymous enum
 

Enumerator:
IsRowVec  Indicating this is a row vector.
IsColVec  Indicating this is a column vector.


Member Function Documentation

template<class Rep, class ErrChecker_ = DefaultErrorChecker>
const_reference exmat::Vec< Rep, ErrChecker_ >::operator() index_type  i  )  const [inline]
 

Index operator returning an element (for external use)

Parameters:
i the index
Returns:
the element

template<class Rep, class ErrChecker_ = DefaultErrorChecker>
reference exmat::Vec< Rep, ErrChecker_ >::operator() index_type  i  )  [inline]
 

Index operator returning an element (for external use)

Parameters:
i the index
Returns:
the element

template<class Rep, class ErrChecker_ = DefaultErrorChecker>
const_reference exmat::Vec< Rep, ErrChecker_ >::operator[] index_type  i  )  const [inline]
 

Index operator returning an element (for external use)

Parameters:
i the index
Returns:
the element

Reimplemented from exmat::Mat< Rep, ErrChecker_ >.

template<class Rep, class ErrChecker_ = DefaultErrorChecker>
reference exmat::Vec< Rep, ErrChecker_ >::operator[] index_type  i  )  [inline]
 

Index operator returning an element (for external use)

Parameters:
i the index
Returns:
the element

Reimplemented from exmat::Mat< Rep, ErrChecker_ >.


The documentation for this class was generated from the following file:
Generated on Sat May 6 23:12:04 2006 for Exmat by  doxygen 1.4.6-NO