44 #include <visp3/core/vpColVector.h>
45 #include <visp3/core/vpRotationVector.h>
46 #include <visp3/core/vpRowVector.h>
57 for (
unsigned int i = 0; i <
dsize; ++i) {
70 std::vector<double> v(this->
size());
72 unsigned int this_size = this->
size();
73 for (
unsigned int i = 0; i < this_size; ++i) {
93 for (
unsigned int i = 0; i <
dsize; ++i) {
94 v[i] = (*this)[i] * x;
165 "Cannot set rotation vector out of bounds. It has only %d elements while you try to initialize "
181 double sum_square = 0.0;
183 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 emitted 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.