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