39 #ifndef VP_TRANSLATION_VECTOR_H
40 #define VP_TRANSLATION_VECTOR_H
42 #include <visp3/core/vpConfig.h>
43 #include <visp3/core/vpArray2D.h>
44 #include <visp3/core/vpHomogeneousMatrix.h>
45 #include <visp3/core/vpPoseVector.h>
137 double frobeniusNorm()
const;
158 #if (VISP_CXX_STANDARD >= VISP_CXX_STANDARD_11)
163 inline double &
operator[](
unsigned int n) {
return *(data + n); }
165 inline const double &
operator[](
unsigned int n)
const {
return *(data + n); }
175 void resize(
unsigned int nrows,
unsigned int ncols,
bool flagNullify =
true)
183 void set(
double tx,
double ty,
double tz);
188 double sumSquare()
const;
198 #if defined(VISP_BUILD_DEPRECATED_FUNCTIONS)
203 VP_DEPRECATED
double euclideanNorm()
const;
210 static const unsigned int constr_val_3;
Implementation of a generic 2D array used as base class for matrices and vectors.
friend std::ostream & operator<<(std::ostream &s, const vpArray2D< Type > &A)
vpArray2D< Type > t() const
Compute the transpose of the array.
vpArray2D< Type > & operator=(Type x)
Set all the elements of the array to x.
Implementation of column vector and the associated operations.
error that can be emitted by ViSP classes.
Implementation of an homogeneous matrix and operations on such kind of matrices.
Implementation of a matrix and operations on matrices.
Implementation of a pose vector and operations on poses.
Implementation of row vector and the associated operations.
Class that consider the case of a translation vector.
double & operator[](unsigned int n)
Operator that allows to set a value of an element : t[i] = x.
const double & operator[](unsigned int n) const
Operator that allows to get the value of an element : x = t[i].
void resize(unsigned int nrows, unsigned int ncols, bool flagNullify=true)
vpMatrix operator*(const double &x, const vpMatrix &A)