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>
111 double euclideanNorm()
const;
133 inline double &
operator [](
unsigned int n) {
return *(data + n); }
135 inline const double &
operator [](
unsigned int n)
const {
return *(data+n); }
142 void resize(
const unsigned int nrows,
const unsigned int ncols,
143 const bool flagNullify =
true)
151 void set(
const double tx,
const double ty,
const double tz) ;
156 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 a pose vector and operations on poses.
Class that consider the case of a translation vector.