41 #include <visp3/core/vpException.h> 42 #include <visp3/core/vpSubColVector.h> 56 init(v, offset, nrows);
69 "sub-column vector from an " 70 "empty parent column vector"));
73 if (offset + nrows <= v.
getRows()) {
87 for (
unsigned int i = 0; i < nrows; i++)
93 "completely contained in the parrent column vector"));
126 "Cannot initialize (%dx1) sub-column vector from " 127 "(%dx1) sub-column vector",
131 for (
unsigned int i = 0; i <
rowNum; i++)
145 "Cannot initialize (%dx1) sub-column vector from " 146 "(%dx1) column vector",
150 for (
unsigned int i = 0; i <
rowNum; i++)
168 for (
unsigned int i = 0; i <
rowNum; i++)
179 for (
unsigned int i = 0; i <
rowNum; i++)
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.
unsigned int getRows() const
Type * data
Address of the first element of the data array.
virtual ~vpSubColVector()
Destructor that set the pointer to the parrent column vector to NULL.
unsigned int getCols() const
unsigned int rowNum
Number of rows in the array.
vpColVector * parent
Parent vpColvector.
unsigned int colNum
Number of columns in the array.
void resize(unsigned int i, bool flagNullify=true)
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.
void checkParentStatus() const
double ** rowPtrs
Address of the first element of each rows.