Image Component Library (ICL)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
icl::math::DynRowVector< T > Struct Template Reference

#include <DynVector.h>

Inheritance diagram for icl::math::DynRowVector< T >:
icl::math::DynMatrix< T >

List of all members.

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

template<class T>
struct icl::math::DynRowVector< T >


Constructor & Destructor Documentation

template<class T >
icl::math::DynRowVector< T >::DynRowVector ( ) [inline]

Default empty constructor creates a null-vector.

template<class T >
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)

template<class T >
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

template<class T >
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)

template<class T >
icl::math::DynRowVector< T >::DynRowVector ( const DynMatrix< T > &  other) throw (InvalidMatrixDimensionException) [inline]

Default copy constructor (the source matrix row count must be 'one')


Member Function Documentation

template<class T >
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 >.

template<class 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

template<class T >
void icl::math::DynRowVector< T >::setDim ( unsigned int  dim,
bool  holdContent = false,
const T &  initializer = 0 
) throw (InvalidMatrixDimensionException) [inline]

adapts the vector dimension


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines