Image Component Library (ICL)
|
#include <DynVector.h>
Public Member Functions | |
DynRowVector () | |
Default empty constructor creates a null-vector. | |
DynRowVector (unsigned int dim, const T &initValue=0) throw (InvalidMatrixDimensionException) | |
Creates a row vector with given dimension (and optional initialValue) | |
DynRowVector (unsigned int dim, T *data, bool deepCopy=true) throw (InvalidMatrixDimensionException) | |
Create a row vector with given data. | |
DynRowVector (unsigned int dim, const T *data) throw (InvalidMatrixDimensionException) | |
Creates column vector with given data pointer and dimsion (const version: deepCopy only) | |
DynRowVector (const DynMatrix< T > &other) throw (InvalidMatrixDimensionException) | |
Default copy constructor (the source matrix row count must be 'one') | |
DynRowVector< T > & | operator= (const DynMatrix< T > &other) throw (InvalidMatrixDimensionException) |
assignment operator (the rvalue's column count must be one) | |
void | setBounds (unsigned int dim, bool holdContent=false, const T &initializer=0) throw (InvalidMatrixDimensionException) |
adapts the vector dimension | |
void | setDim (unsigned int dim, bool holdContent=false, const T &initializer=0) throw (InvalidMatrixDimensionException) |
adapts the vector dimension |
icl::math::DynRowVector< T >::DynRowVector | ( | ) | [inline] |
Default empty constructor creates a null-vector.
icl::math::DynRowVector< T >::DynRowVector | ( | unsigned int | dim, |
const T & | initValue = 0 |
||
) | throw (InvalidMatrixDimensionException) [inline] |
Creates a row vector with given dimension (and optional initialValue)
icl::math::DynRowVector< T >::DynRowVector | ( | unsigned int | dim, |
T * | data, | ||
bool | deepCopy = true |
||
) | throw (InvalidMatrixDimensionException) [inline] |
Create a row vector with given data.
Data can be wrapped deeply or shallowly. If the latter is true, given data pointer will not be released in the destructor, i.e. the data ownership is not passed to the DynColumnVector instance
icl::math::DynRowVector< T >::DynRowVector | ( | unsigned int | dim, |
const T * | data | ||
) | throw (InvalidMatrixDimensionException) [inline] |
Creates column vector with given data pointer and dimsion (const version: deepCopy only)
icl::math::DynRowVector< T >::DynRowVector | ( | const DynMatrix< T > & | other | ) | throw (InvalidMatrixDimensionException) [inline] |
Default copy constructor (the source matrix row count must be 'one')
DynRowVector<T>& icl::math::DynRowVector< T >::operator= | ( | const DynMatrix< T > & | other | ) | throw (InvalidMatrixDimensionException) [inline] |
assignment operator (the rvalue's column count must be one)
Reimplemented from icl::math::DynMatrix< T >.
void icl::math::DynRowVector< T >::setBounds | ( | unsigned int | dim, |
bool | holdContent = false , |
||
const T & | initializer = 0 |
||
) | throw (InvalidMatrixDimensionException) [inline] |
adapts the vector dimension
overwrites setBounds from the parent matrix class to prevent the vector from being resized to matrix bounds
void icl::math::DynRowVector< T >::setDim | ( | unsigned int | dim, |
bool | holdContent = false , |
||
const T & | initializer = 0 |
||
) | throw (InvalidMatrixDimensionException) [inline] |
adapts the vector dimension