 |
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();
161 unsigned int m_index;
164 #ifndef DOXYGEN_SHOULD_SKIP_THIS
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.
Implementation of a generic rotation vector.
void resize(unsigned int nrows, unsigned int ncols, bool flagNullify=true, bool recopy_=true)
vpArray2D< Type > & operator=(Type x)
Set all the elements of the array to x.
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.
Type * operator[](unsigned int i)
Set element using A[i][j] = x.
Implementation of row vector and the associated operations.
friend std::ostream & operator<<(std::ostream &s, const vpArray2D< Type > &A)