41 #ifndef vpTRANSLATIONVECTOR_H
42 #define vpTRANSLATIONVECTOR_H
49 #include <visp3/core/vpArray2D.h>
50 #include <visp3/core/vpMatrix.h>
51 #include <visp3/core/vpHomogeneousMatrix.h>
52 #include <visp3/core/vpPoseVector.h>
113 double euclideanNorm()
const;
137 inline double &
operator [](
unsigned int n) {
return *(data + n); }
139 inline const double &
operator [](
unsigned int n)
const {
return *(data+n); }
146 void resize(
const unsigned int nrows,
const unsigned int ncols,
147 const bool flagNullify =
true)
155 void set(
const double tx,
const double ty,
const double tz) ;
160 double sumSquare()
const;
Implementation of a matrix and operations on matrices.
vpArray2D< Type > & operator=(Type x)
Set all the elements of the array to x.
Implementation of an homogeneous matrix and operations on such kind of matrices.
Implementation of row vector and the associated operations.
error that can be emited by ViSP classes.
Implementation of a generic 2D array used as vase class of matrices and vectors.
vpColVector operator*(const double &x, const vpColVector &v)
void resize(const unsigned int nrows, const unsigned int ncols, const bool flagNullify=true)
Type * operator[](unsigned int i)
Set element using A[i][j] = x.
Implementation of column vector and the associated operations.
Implementation of a pose vector and operations on poses.
Class that consider the case of a translation vector.