40 #include <visp3/core/vpSubColVector.h>
41 #include <visp3/core/vpException.h>
58 init(v, offset, nrows);
68 const unsigned int & offset,
69 const unsigned int & nrows)
73 "Cannot initialize a sub-column vector from an empty parent column vector")) ;
90 for(
unsigned int i=0;i<nrows;i++)
96 "Cannot create a sub-column vector that is not completely containt in the parrent column vector")) ;
113 "The parent of the current sub-column vector has been destroyed")) ;
117 "The size of the parent sub-column vector has changed")) ;
131 "Cannot initialize (%dx1) sub-column vector from (%dx1) sub-column vector",
135 for (
unsigned int i=0;i<
rowNum;i++)
149 "Cannot initialize (%dx1) sub-column vector from (%dx1) column vector",
153 for (
unsigned int i=0;i<
rowNum;i++)
168 "Cannot initialize (%dx1) sub-column vector from (%dx%d) matrix",
172 for (
unsigned int i=0;i<
rowNum;i++)
183 for (
unsigned int i=0;i<
rowNum;i++)
193 unsigned int k = tv.
getRows() ;
212 unsigned int k = rv.
getRows() ;
Implementation of a matrix and operations on matrices.
Implementation of a generic rotation vector.
vp_deprecated void init()
unsigned int pRowNum
Number of row of parent vpColvector at initialization.
error that can be emited by ViSP classes.
Type * data
Address of the first element of the data array.
unsigned int getCols() const
Return the number of columns of the 2D array.
void checkParentStatus() const
virtual ~vpSubColVector()
Destructor that set the pointer to the parrent column vector to NULL.
unsigned int rowNum
Number of rows in the array.
vpColVector * parent
Parent vpColvector.
unsigned int getRows() const
Return the number of rows of the 2D array.
unsigned int colNum
Number of columns in the array.
vpSubColVector & operator=(const vpSubColVector &B)
Implementation of column vector and the associated operations.
Implementation of a pose vector and operations on poses.
vpSubColVector()
Default constructor that creates an empty vector.
unsigned int dsize
Current array size (rowNum * colNum)
Class that consider the case of a translation vector.
double ** rowPtrs
Address of the first element of each rows.
void resize(const unsigned int i, const bool flagNullify=true)