CAPD DynSys Library
5.2.0
|
RowVector class realizes a vector without its own container. He is just a reference to a part of other object (i.e. Matrix of Vector) with his own container. More...
#include <capd/vectalg/RowVector.h>
Classes | |
struct | rebind |
Public Types | |
typedef Scalar | ScalarType |
typedef ScalarType * | iterator |
typedef RowVector< Scalar, cols > | VectorType |
typedef RowVector | ContainerType |
typedef __size_type | size_type |
typedef __difference_type | difference_type |
Public Member Functions | |
RowVector (const Scalar *pointer, size_type dim) | |
RowVector & | operator= (const RowVector &) |
RowVector & | operator= (const Vector< Scalar, cols > &) |
RowVector & | operator+= (const RowVector &) |
RowVector & | operator+= (const Vector< Scalar, cols > &) |
RowVector & | operator-= (const RowVector &) |
RowVector & | operator-= (const Vector< Scalar, cols > &) |
RowVector & | operator*= (const Scalar &) |
RowVector & | operator/= (const Scalar &) |
operator Vector< Scalar, cols > () const | |
Scalar & | operator[] (size_type col) |
const Scalar & | operator[] (size_type col) const |
Scalar | euclNorm () const |
bool | normalize () |
void | clear () |
size_type | dimension () const |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
void | assertEqualSize (const RowVector &c) const |
Public Attributes | |
const typedef ScalarType * | const_iterator |
Protected Attributes | |
Scalar * | m_pointer |
size_type | m_dim |
RowVector class realizes a vector without its own container. He is just a reference to a part of other object (i.e. Matrix of Vector) with his own container.
It is assumed that data fill continuous part of a memory Compare with ColumnVector
typedef RowVector capd::vectalg::RowVector< Scalar, cols >::ContainerType |
typedef __difference_type capd::vectalg::RowVector< Scalar, cols >::difference_type |
typedef ScalarType* capd::vectalg::RowVector< Scalar, cols >::iterator |
typedef Scalar capd::vectalg::RowVector< Scalar, cols >::ScalarType |
typedef __size_type capd::vectalg::RowVector< Scalar, cols >::size_type |
typedef RowVector<Scalar,cols> capd::vectalg::RowVector< Scalar, cols >::VectorType |
|
inline |
|
inline |
|
inline |
const_iterator capd::vectalg::RowVector< Scalar, cols >::begin | ( | ) | const |
|
inline |
|
inline |
|
inline |
const_iterator capd::vectalg::RowVector< Scalar, cols >::end | ( | ) | const |
|
inline |
|
inline |
capd::vectalg::RowVector< Scalar, cols >::operator Vector< Scalar, cols > |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
const typedef ScalarType* capd::vectalg::RowVector< Scalar, cols >::const_iterator |
|
protected |
|
protected |