38 #ifndef vpRotationVECTOR_H
39 #define vpRotationVECTOR_H
51 #include <visp3/core/vpArray2D.h>
126 inline double &
operator [](
unsigned int i) {
return *(data + i); }
131 inline const double &
operator [](
unsigned int i)
const {
return *(data+i); }
139 for (
unsigned int i=0; i<v.
size(); i++)
141 data[i] = v.
data[i] ;
147 double sumSquare()
const;
155 #ifndef DOXYGEN_SHOULD_SKIP_THIS
vpRotationVector & operator=(const vpRotationVector &v)
Implementation of a generic rotation vector.
virtual ~vpRotationVector()
void resize(const unsigned int nrows, const unsigned int ncols, const bool flagNullify=true)
Implementation of row vector and the associated operations.
vpColVector operator*(const double &x, const vpColVector &v)
Type * data
Address of the first element of the data array.
Implementation of a generic 2D array used as vase class of matrices and vectors.
unsigned int size() const
Return the number of elements of the 2D array.
vpRotationVector(const vpRotationVector &v)
vpRotationVector(const unsigned int n)
Constructor that constructs a vector of size n and initialize all values to zero. ...
vpColVector operator*(const double &x, const vpColVector &v)
vpRotationVector()
Constructor that constructs a 0-size rotation vector.
Type * operator[](unsigned int i)
Set element using A[i][j] = x.
Implementation of column vector and the associated operations.