39 #ifndef vpRotationVECTOR_H 40 #define vpRotationVECTOR_H 52 #include <visp3/core/vpArray2D.h> 127 inline double &
operator[](
unsigned int i) {
return *(data + i); }
132 inline const double &
operator[](
unsigned int i)
const {
return *(data + i); }
140 for (
unsigned int i = 0; i < v.
size(); i++) {
147 double sumSquare()
const;
155 #ifndef DOXYGEN_SHOULD_SKIP_THIS vpRotationVector & operator=(const vpRotationVector &v)
Implementation of a generic rotation vector.
virtual ~vpRotationVector()
Implementation of row vector and the associated operations.
void resize(const unsigned int nrows, const unsigned int ncols, const bool flagNullify=true, const bool recopy_=true)
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)
vpColVector operator*(const double &x, const vpColVector &v)
vpRotationVector()
Constructor that constructs a 0-size rotation vector.
Implementation of column vector and the associated operations.
const double & operator[](unsigned int i) const
double & operator[](unsigned int i)