42 #include <visp3/core/vpColVector.h>
43 #include <visp3/core/vpRotationVector.h>
44 #include <visp3/core/vpRowVector.h>
60 for (
unsigned int i = 0; i <
dsize; i++)
72 std::vector<double> v(this->
size());
74 for (
unsigned int i = 0; i < this->
size(); i++)
93 for (
unsigned int i = 0; i <
dsize; i++)
94 v[i] = (*
this)[i] * x;
167 "Cannot set rotation vector out of bounds. It has only %d elements while you try to initialize "
183 double sum_square = 0.0;
185 for (
unsigned int i = 0; i <
rowNum; i++) {
double * data
Address of the first element of the data array.
double ** rowPtrs
Address of the first element of each rows.
unsigned int rowNum
Number of rows in the array.
unsigned int dsize
Current array size (rowNum * colNum)
unsigned int size() const
Return the number of elements of the 2D array.
Implementation of column vector and the associated operations.
error that can be emited by ViSP classes.
@ dimensionError
Bad dimension.
Implementation of a generic rotation vector.
vpRotationVector & operator<<(double val)
std::vector< double > toStdVector() const
vpColVector operator*(double x) const
vpColVector operator*(const double &x, const vpRotationVector &v)
vpRotationVector & operator,(double val)
Implementation of row vector and the associated operations.