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++) {
151 double sumSquare()
const;
156 std::vector<double> toStdVector();
164 #ifndef DOXYGEN_SHOULD_SKIP_THIS vpRotationVector & operator=(const vpRotationVector &v)
Implementation of a generic rotation vector.
virtual ~vpRotationVector()
void resize(unsigned int nrows, unsigned int ncols, bool flagNullify=true, bool recopy_=true)
Implementation of row vector and the associated operations.
Type * data
Address of the first element of the data array.
Implementation of a generic 2D array used as base class for matrices and vectors. ...
unsigned int size() const
Return the number of elements of the 2D array.
vpRotationVector(const vpRotationVector &v)
vpColVector operator*(const double &x, const vpColVector &v)
vpRotationVector()
Constructor that constructs a 0-size rotation vector.
vpRotationVector(unsigned int n)
friend std::ostream & operator<<(std::ostream &s, const vpArray2D< Type > &A)
Implementation of column vector and the associated operations.
const double & operator[](unsigned int i) const
double & operator[](unsigned int i)