CAPD::DynSys Library
6.0.0
|
This class realizes a vector without its own container, which is a reference to a subset of other object with his own container. A typical situation is a column of matrix which can be considered as a vector. More...
#include <capd/vectalg/ColumnVector.h>
Public Types | |
typedef Scalar | ScalarType |
typedef capd::vectalg::ColumnIterator< Scalar > | iterator |
typedef capd::vectalg::const_ColumnIterator< Scalar > | const_iterator |
typedef ColumnVector | VectorType |
typedef ColumnVector | ContainerType |
typedef __size_type | size_type |
typedef __difference_type | difference_type |
Public Member Functions | |
ColumnVector (const Scalar *pointer, difference_type stride, size_type dim) | |
ColumnVector & | operator= (const ColumnVector &) |
ColumnVector & | operator= (const Vector< Scalar, rows > &) |
ColumnVector & | operator+= (const ColumnVector &) |
ColumnVector & | operator+= (const Vector< Scalar, rows > &) |
ColumnVector & | operator-= (const ColumnVector &) |
ColumnVector & | operator-= (const Vector< Scalar, rows > &) |
ColumnVector & | operator*= (const Scalar &) |
ColumnVector & | operator/= (const Scalar &) |
operator Vector< Scalar, rows > () const | |
Scalar & | operator[] (size_type row) |
const Scalar & | operator[] (size_type row) const |
Scalar | euclNorm () const |
bool | normalize () |
void | clear () |
size_type | dimension () const |
void | next () |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
void | assertEqualSize (const ColumnVector &c) const |
Protected Attributes | |
Scalar * | m_pointer |
difference_type | m_stride |
size_type | m_dim |
This class realizes a vector without its own container, which is a reference to a subset of other object with his own container. A typical situation is a column of matrix which can be considered as a vector.
typedef capd::vectalg::const_ColumnIterator<Scalar> capd::vectalg::ColumnVector< Scalar, rows >::const_iterator |
typedef ColumnVector capd::vectalg::ColumnVector< Scalar, rows >::ContainerType |
typedef __difference_type capd::vectalg::ColumnVector< Scalar, rows >::difference_type |
typedef capd::vectalg::ColumnIterator<Scalar> capd::vectalg::ColumnVector< Scalar, rows >::iterator |
typedef Scalar capd::vectalg::ColumnVector< Scalar, rows >::ScalarType |
typedef __size_type capd::vectalg::ColumnVector< Scalar, rows >::size_type |
typedef ColumnVector capd::vectalg::ColumnVector< Scalar, rows >::VectorType |
|
inline |
|
inline |
|
inline |
|
inline |
void capd::vectalg::ColumnVector< Scalar, rows >::clear |
|
inline |
|
inline |
|
inline |
|
inline |
void capd::vectalg::ColumnVector< Scalar, rows >::next |
|
inline |
capd::vectalg::ColumnVector< Scalar, rows >::operator Vector< Scalar, rows > |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
ColumnVector< Scalar, rows > & capd::vectalg::ColumnVector< Scalar, rows >::operator/= | ( | const Scalar & | s | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |