Visual Servoing Platform version 3.7.0
Loading...
Searching...
No Matches
vpVelocityTwistMatrix Class Reference

#include <vpVelocityTwistMatrix.h>

Inheritance diagram for vpVelocityTwistMatrix:

Public Member Functions

 vpVelocityTwistMatrix ()
 vpVelocityTwistMatrix (const vpVelocityTwistMatrix &V)
VP_EXPLICIT vpVelocityTwistMatrix (const vpHomogeneousMatrix &M, bool full=true)
 vpVelocityTwistMatrix (const vpTranslationVector &t, const vpRotationMatrix &R)
 vpVelocityTwistMatrix (const vpTranslationVector &t, const vpThetaUVector &thetau)
 vpVelocityTwistMatrix (double tx, double ty, double tz, double tux, double tuy, double tuz)
VP_EXPLICIT vpVelocityTwistMatrix (const vpRotationMatrix &R)
VP_EXPLICIT vpVelocityTwistMatrix (const vpThetaUVector &thetau)
vpVelocityTwistMatrixbuildFrom (const vpTranslationVector &t, const vpRotationMatrix &R)
vpVelocityTwistMatrixbuildFrom (const vpTranslationVector &t, const vpThetaUVector &thetau)
vpVelocityTwistMatrixbuildFrom (const vpHomogeneousMatrix &M, bool full=true)
vpVelocityTwistMatrixbuildFrom (const vpRotationMatrix &R)
vpVelocityTwistMatrixbuildFrom (const vpThetaUVector &thetau)
void extract (vpRotationMatrix &R) const
void extract (vpTranslationVector &t) const
void eye ()
vpVelocityTwistMatrix inverse () const
void inverse (vpVelocityTwistMatrix &V) const
vpVelocityTwistMatrix operator* (const vpVelocityTwistMatrix &V) const
vpMatrix operator* (const vpMatrix &M) const
vpColVector operator* (const vpColVector &v) const
vpVelocityTwistMatrixoperator= (const vpVelocityTwistMatrix &V)
int print (std::ostream &s, unsigned int length, char const *intro=nullptr) const
VP_NORETURN void resize (unsigned int nrows, unsigned int ncols, bool flagNullify=true)
Inherited functionalities from vpArray2D
unsigned int getCols () const
double getMaxValue () const
double getMinValue () const
unsigned int getRows () const
unsigned int size () const
void resize (unsigned int nrows, unsigned int ncols, bool flagNullify=true, bool recopy_=true)
void reshape (unsigned int nrows, unsigned int ncols)
void insert (const vpArray2D< double > &A, unsigned int r, unsigned int c)
bool operator!= (const vpArray2D< double > &A) const
double * operator[] (unsigned int i)
vpArray2D< double > hadamard (const vpArray2D< double > &m) const
vpArray2D< double > t () const

Static Public Member Functions

static vpArray2D< double > view (const vpArray2D< double > &A)

Public Attributes

double * data

Friends

class vpMatrix

(Note that these are not member symbols.)

bool operator== (const vpArray2D< double > &A) const
bool operator== (const vpArray2D< float > &A) const
void vpGEMM (const vpArray2D< double > &A, const vpArray2D< double > &B, const double &alpha, const vpArray2D< double > &C, const double &beta, vpArray2D< double > &D, const unsigned int &ops=0)
enum  vpGEMMmethod

Deprecated functions

VP_DEPRECATED void init ()
VP_DEPRECATED void setIdentity ()

Inherited I/O from vpArray2D with Static Public Member Functions

unsigned int rowNum
unsigned int colNum
double ** rowPtrs
unsigned int dsize
bool isMemoryOwner
bool isRowPtrsOwner
static bool load (const std::string &filename, vpArray2D< double > &A, bool binary=false, char *header=nullptr)
static bool loadYAML (const std::string &filename, vpArray2D< double > &A, char *header=nullptr)
static bool save (const std::string &filename, const vpArray2D< double > &A, bool binary=false, const char *header="")
static bool saveYAML (const std::string &filename, const vpArray2D< double > &A, const char *header="")
static vpArray2D< double > conv2 (const vpArray2D< double > &M, const vpArray2D< double > &kernel, const std::string &mode)
static bool isFinite (const vpArray2D< double > &A)

Detailed Description

This class derived from vpArray2D<double> implements the 6 by 6 matrix which transforms velocities from one frame to another. This matrix is also called velocity twist transformation matrix.

The full velocity twist transformation matrix allows to compute the velocity at point a expressed in frame a knowing its velocity at point b expressed in frame b. This matrix is defined as:

\‍[^a{\bf V}_b = \left[\begin{array}{cc}
^a{\bf R}_b & [^a{\bf t}_b]_\times \; ^a{\bf R}_b\\
{\bf 0}_{3\times 3} & ^a{\bf R}_b
\end{array}
\right]
\‍]

where $ ^a{\bf R}_b $ is a rotation matrix and $ ^a{\bf t}_b $ is a translation vector.

There are different ways to initialize such a full velocity twist matrix. The following example shows how to proceed setting the translation and rotation matrix transformations:

#include <visp3/core/vpVelocityTwistMatrix.h>
#ifdef ENABLE_VISP_NAMESPACE
using namespace VISP_NAMESPACE_NAME;
#endif
int main()
{
vpTranslationVector cte(0.1, 0.2, 0.3);
vpRotationMatrix cRe( {0, 0, -1,
0, -1, 0,
-1, 0, 0} );
vpVelocityTwistMatrix cVe(cte, cRe);
std::cout << "cVe:\n" << cVe << std::endl;
}
Implementation of a rotation matrix and operations on such kind of matrices.
Class that consider the case of a translation vector.

It produces the following printings:

cVe:
0 0 -1 -0.2 0.3 0
0 -1 0 0.1 0 -0.3
-1 0 0 0 -0.1 0.2
0 0 0 0 0 -1
0 0 0 0 -1 0
0 0 0 -1 0 0

When the point where the velocity is expressed doesn't change, the matrix becomes block diagonal. It allows than to compute the velocity at point b expressed in frame a knowing its velocity at point b expressed in frame b :

\‍[^a{\bf V}_b = \left[\begin{array}{cc}
^a{\bf R}_b & {\bf 0}_{3\times 3} \\
{\bf 0}_{3\times 3} & ^a{\bf R}_b
\end{array}
\right]
\‍]

To initialize such a velocity twist matrix where translation is not taken into account you can proceed like in the following code:

#include <visp3/core/vpVelocityTwistMatrix.h>
#ifdef ENABLE_VISP_NAMESPACE
using namespace VISP_NAMESPACE_NAME;
#endif
int main()
{
vpRotationMatrix cRe( {0, 0, -1,
0, -1, 0,
-1, 0, 0} );
std::cout << "cVe:\n" << cVe << std::endl;
}

It produces the following printings:

cVe:
0 0 -1 0 0 0
0 -1 0 0 0 0
-1 0 0 0 0 0
0 0 0 0 0 -1
0 0 0 0 -1 0
0 0 0 -1 0 0

The code below shows how to convert a velocity skew expressed at the origin of the camera frame into the origin of the fix frame using the full velocity twist matrix.

#include <visp3/core/vpColVector.h>
#include <visp3/core/vpVelocityTwistMatrix.h>
#ifdef ENABLE_VISP_NAMESPACE
using namespace VISP_NAMESPACE_NAME;
#endif
int main()
{
vpVelocityTwistMatrix fVc; // Twist transformation matrix from fix to camera frame
vpHomogeneousMatrix fMc; // Fix to camera frame transformation
// ... fMc need here to be initialized
fVc.buildFrom(fMc);
vpColVector c_v(6); // Velocity in the camera frame: vx,vy,vz,wx,wy,wz
// ... c_v should here have an initial value
vpColVector f_v(6); // Velocity in the fix frame: vx,vy,vz,wx,wy,wz
// Compute the velocity in the fix frame
f_v = fVc * c_v;
}
Implementation of column vector and the associated operations.
Implementation of an homogeneous matrix and operations on such kind of matrices.
vpVelocityTwistMatrix & buildFrom(const vpTranslationVector &t, const vpRotationMatrix &R)
Examples
manServo4PointsDisplay.cpp, manSimu4Dots.cpp, manSimu4Points.cpp, mbot-apriltag-2D-half-vs.cpp, mbot-apriltag-ibvs.cpp, mbot-apriltag-pbvs.cpp, perfMatrixMultiplication.cpp, servoAfma6FourPoints2DArtVelocity.cpp, servoAfma6Point2DArtVelocity.cpp, servoBebop2.cpp, servoBiclopsPoint2DArtVelocity.cpp, servoFlirPtuIBVS.cpp, servoPioneerPanSegment3D.cpp, servoPioneerPoint2DDepth.cpp, servoPioneerPoint2DDepthWithoutVpServo.cpp, servoPixhawkDroneIBVS.cpp, servoPololuPtuPoint2DJointVelocity.cpp, servoPtu46Point2DArtVelocity.cpp, servoSimu4Points.cpp, servoSimuCylinder.cpp, servoSimuFourPoints2DCamVelocity.cpp, servoSimuFourPoints2DCamVelocityDisplay.cpp, servoSimuFourPoints2DPolarCamVelocityDisplay.cpp, servoSimuPoint2DCamVelocity2.cpp, servoSimuPoint2DCamVelocity3.cpp, servoSimuSphere.cpp, servoViper650FourPoints2DArtVelocityLs_cur.cpp, servoViper850FourPoints2DArtVelocityLs_cur.cpp, servoViper850FourPoints2DArtVelocityLs_des.cpp, servoViper850Point2DArtVelocity-jointAvoidance-basic.cpp, servoViper850Point2DArtVelocity-jointAvoidance-gpa.cpp, servoViper850Point2DArtVelocity-jointAvoidance-large.cpp, servoViper850Point2DArtVelocity.cpp, simulateFourPoints2DCartesianCamVelocity.cpp, simulateFourPoints2DPolarCamVelocity.cpp, testMatrix.cpp, testRobotViper650-frames.cpp, testRobotViper850-frames.cpp, testTwistMatrix.cpp, testVirtuoseAfma6.cpp, testVirtuoseHapticBox.cpp, tutorial-flir-ptu-ibvs.cpp, tutorial-simu-pioneer-continuous-gain-adaptive.cpp, tutorial-simu-pioneer-continuous-gain-constant.cpp, tutorial-simu-pioneer-pan.cpp, and tutorial-simu-pioneer.cpp.

Definition at line 174 of file vpVelocityTwistMatrix.h.

Constructor & Destructor Documentation

◆ vpVelocityTwistMatrix() [1/8]

vpVelocityTwistMatrix::vpVelocityTwistMatrix ( )

Initialize a velocity twist transformation matrix as identity.

Definition at line 89 of file vpVelocityTwistMatrix.cpp.

References eye(), and vpArray2D< double >::vpArray2D().

Referenced by buildFrom(), buildFrom(), buildFrom(), buildFrom(), buildFrom(), inverse(), inverse(), operator*(), operator=(), vpMatrix, and vpVelocityTwistMatrix().

◆ vpVelocityTwistMatrix() [2/8]

vpVelocityTwistMatrix::vpVelocityTwistMatrix ( const vpVelocityTwistMatrix & V)

Initialize a velocity twist transformation matrix from another velocity twist matrix.

Parameters
V: Velocity twist matrix used as initializer.

Definition at line 97 of file vpVelocityTwistMatrix.cpp.

References vpArray2D< double >::vpArray2D(), and vpVelocityTwistMatrix().

◆ vpVelocityTwistMatrix() [3/8]

vpVelocityTwistMatrix::vpVelocityTwistMatrix ( const vpHomogeneousMatrix & M,
bool full = true )

Initialize a velocity twist transformation matrix from an homogeneous matrix $M$ with

\‍[ {\bf M} = \left[\begin{array}{cc} {\bf R} & {\bf t}
\\ {\bf 0}_{1\times 3} & 1 \end{array} \right] \‍]

Parameters
M: Homogeneous matrix $\bf M$ used to initialize the velocity twist transformation matrix.
full: Boolean used to indicate which matrix should be filled.
  • When set to true, use the complete velocity skew transformation :

    \‍[ {\bf V} = \left[\begin{array}{cc} {\bf R} & [{\bf t}]_\times \; {\bf R}
\\
{\bf 0}_{3\times 3} & {\bf R} \end{array} \right] \‍]

  • When set to false, use the block diagonal velocity skew transformation:

    \‍[ {\bf V} = \left[\begin{array}{cc} {\bf R} & {\bf 0}_{3\times 3} \\
{\bf 0}_{3\times 3} & {\bf R} \end{array} \right] \‍]

Definition at line 117 of file vpVelocityTwistMatrix.cpp.

References buildFrom(), vpHomogeneousMatrix::getRotationMatrix(), and vpArray2D< double >::vpArray2D().

◆ vpVelocityTwistMatrix() [4/8]

vpVelocityTwistMatrix::vpVelocityTwistMatrix ( const vpTranslationVector & t,
const vpRotationMatrix & R )

Initialize a velocity twist transformation matrix from a translation vector t and a rotation matrix R.

\‍[ {\bf V} = \left[\begin{array}{cc} {\bf R} & [{\bf t}]_\times \; {\bf R}
\\
{\bf 0}_{3\times 3} & {\bf R} \end{array} \right] \‍]

Parameters
t: Translation vector.
R: Rotation matrix.

Definition at line 177 of file vpVelocityTwistMatrix.cpp.

References buildFrom(), vpArray2D< double >::t(), and vpArray2D< double >::vpArray2D().

◆ vpVelocityTwistMatrix() [5/8]

vpVelocityTwistMatrix::vpVelocityTwistMatrix ( const vpTranslationVector & t,
const vpThetaUVector & thetau )

Initialize a velocity twist transformation matrix from a translation vector t and a rotation vector with $\theta u $ parametrization.

\‍[ {\bf V} = \left[\begin{array}{cc} {\bf R} & [{\bf t}]_\times \; {\bf R}
\\
{\bf 0}_{3\times 3} & {\bf R} \end{array} \right] \‍]

Parameters
t: Translation vector.
thetau: $\theta u$ rotation vector used to initialize rotation vector $R$ .

Definition at line 141 of file vpVelocityTwistMatrix.cpp.

References buildFrom(), vpArray2D< double >::t(), and vpArray2D< double >::vpArray2D().

◆ vpVelocityTwistMatrix() [6/8]

vpVelocityTwistMatrix::vpVelocityTwistMatrix ( double tx,
double ty,
double tz,
double tux,
double tuy,
double tuz )

Initialize a velocity twist transformation matrix from a translation vector ${\bf t}=(t_x, t_y, t_z)^T$ and a rotation vector with $\theta {\bf
u}=(\theta u_x, \theta u_y, \theta u_z)^T $ parametrization.

\‍[ {\bf V} = \left[\begin{array}{cc} {\bf R} & [{\bf t}]_\times \; {\bf R}
\\
{\bf 0}_{3\times 3} & {\bf R} \end{array} \right] \‍]

Parameters
[in]tx: Value along X-axis of the translation vector in meters.
[in]ty: Value along Y-axis of the translation vector in meters.
[in]tz: Value along Z-axis of the translation vector in meters.
tux: Value along X-axis of the $ \theta {\bf u}$ rotation vector expressed in radians and used to initialize the ratational matrix $R$.
tuy: Value along Y-axis of the $ \theta {\bf u}$ rotation vector expressed in radians and used to initialize the ratational matrix $R$.
tuz: Value along Z-axis of the $ \theta {\bf u}$ rotation vector expressed in radians and used to initialize the ratational matrix $R$.

Definition at line 217 of file vpVelocityTwistMatrix.cpp.

References buildFrom(), vpArray2D< double >::t(), and vpArray2D< double >::vpArray2D().

◆ vpVelocityTwistMatrix() [7/8]

vpVelocityTwistMatrix::vpVelocityTwistMatrix ( const vpRotationMatrix & R)

Initialize a velocity twist transformation matrix from a rotation matrix R.

\‍[ {\bf V} = \left[\begin{array}{cc} {\bf R} & {\bf 0}_{3\times 3} \\
{\bf 0}_{3\times 3} & {\bf R} \end{array} \right] \‍]

Parameters
R: Rotation matrix.

Definition at line 194 of file vpVelocityTwistMatrix.cpp.

References buildFrom(), and vpArray2D< double >::vpArray2D().

◆ vpVelocityTwistMatrix() [8/8]

vpVelocityTwistMatrix::vpVelocityTwistMatrix ( const vpThetaUVector & thetau)

Initialize a velocity twist transformation matrix from a rotation vector with $\theta u $ parametrization.

\‍[ {\bf V} = \left[\begin{array}{cc} {\bf R} & {\bf 0}_{3\times 3}\\
{\bf 0}_{3\times 3} & {\bf R} \end{array} \right] \‍]

Parameters
thetau: $\theta u$ rotation vector used to initialize rotation vector $R$ .

Definition at line 159 of file vpVelocityTwistMatrix.cpp.

References buildFrom(), and vpArray2D< double >::vpArray2D().

Member Function Documentation

◆ buildFrom() [1/5]

vpVelocityTwistMatrix & vpVelocityTwistMatrix::buildFrom ( const vpHomogeneousMatrix & M,
bool full = true )

Initialize a velocity twist transformation matrix from an homogeneous matrix $M$ with

\‍[ {\bf M} = \left[\begin{array}{cc} {\bf R} & {\bf t}
\\ {\bf 0}_{1\times 3} & 1 \end{array} \right] \‍]

Parameters
M: Homogeneous matrix $M$ used to initialize the velocity twist transformation matrix.
full: Boolean used to indicate which matrix should be filled.
  • When set to true, use the complete velocity skew transformation :

    \‍[ {\bf V} = \left[\begin{array}{cc} {\bf R} & [{\bf t}]_\times \; {\bf R}
\\
{\bf 0}_{3\times 3} & {\bf R} \end{array} \right] \‍]

  • When set to false, use the block diagonal velocity skew transformation:

    \‍[ {\bf V} = \left[\begin{array}{cc} {\bf R} & {\bf 0}_{3\times 3} \\
{\bf 0}_{3\times 3} & {\bf R} \end{array} \right] \‍]

Definition at line 459 of file vpVelocityTwistMatrix.cpp.

References buildFrom(), vpHomogeneousMatrix::getRotationMatrix(), vpHomogeneousMatrix::getTranslationVector(), and vpVelocityTwistMatrix().

◆ buildFrom() [2/5]

vpVelocityTwistMatrix & vpVelocityTwistMatrix::buildFrom ( const vpRotationMatrix & R)

Build a velocity twist transformation block diagonal matrix from a rotation matrix R.

\‍[ {\bf V} = \left[\begin{array}{cc} {\bf R} & {\bf 0}_{3\times 3} \\
{\bf 0}_{3\times 3} & {\bf R} \end{array} \right] \‍]

Parameters
R: Rotation matrix.

Definition at line 357 of file vpVelocityTwistMatrix.cpp.

References vpVelocityTwistMatrix().

◆ buildFrom() [3/5]

vpVelocityTwistMatrix & vpVelocityTwistMatrix::buildFrom ( const vpThetaUVector & thetau)

Initialize a velocity twist transformation matrix from a rotation vector with $\theta u $ parametrization.

\‍[ {\bf V} = \left[\begin{array}{cc} {\bf R} & {\bf 0}_{3\times 3} \\
{\bf 0}_{3\times 3} & {\bf R} \end{array} \right] \‍]

Parameters
thetau: $\theta {\bf u}$ rotation vector used to create rotation matrix ${\bf R}$.

Definition at line 435 of file vpVelocityTwistMatrix.cpp.

References buildFrom(), and vpVelocityTwistMatrix().

◆ buildFrom() [4/5]

◆ buildFrom() [5/5]

vpVelocityTwistMatrix & vpVelocityTwistMatrix::buildFrom ( const vpTranslationVector & t,
const vpThetaUVector & thetau )

Initialize a velocity twist transformation matrix from a translation vector t and a rotation vector with $\theta u $ parametrization.

\‍[ {\bf V} = \left[\begin{array}{cc} {\bf R} & [{\bf t}]_\times \; {\bf R}
\\
{\bf 0}_{3\times 3} & {\bf R} \end{array} \right] \‍]

Parameters
t: Translation vector.
thetau: $\theta {\bf u}$ rotation vector used to create rotation matrix ${\bf R}$.

Definition at line 417 of file vpVelocityTwistMatrix.cpp.

References buildFrom(), vpArray2D< double >::t(), and vpVelocityTwistMatrix().

◆ conv2()

vpArray2D< double > vpArray2D< double >::conv2 ( const vpArray2D< double > & M,
const vpArray2D< double > & kernel,
const std::string & mode )
staticinherited

Perform a 2D convolution similar to Matlab conv2 function: $ M \star kernel $.

Parameters
M: First matrix.
kernel: Second matrix.
mode: Convolution mode: "full" (default), "same", "valid".
Convolution mode: full, same, valid (image credit: Theano doc).
Note
This is a very basic implementation that does not use FFT.

Definition at line 1142 of file vpArray2D.h.

References vpArray2D().

◆ extract() [1/2]

void vpVelocityTwistMatrix::extract ( vpRotationMatrix & R) const

Extract the rotation matrix from the velocity twist matrix.

Definition at line 491 of file vpVelocityTwistMatrix.cpp.

Referenced by extract(), inverse(), and vpMatrix.

◆ extract() [2/2]

void vpVelocityTwistMatrix::extract ( vpTranslationVector & t) const

Extract the translation vector from the velocity twist matrix.

Definition at line 502 of file vpVelocityTwistMatrix.cpp.

References extract(), and vpMatrix.

◆ eye()

void vpVelocityTwistMatrix::eye ( )

Initialize a 6x6 velocity twist matrix as identity.

Definition at line 71 of file vpVelocityTwistMatrix.cpp.

Referenced by setIdentity(), vpMatrix, and vpVelocityTwistMatrix().

◆ getCols()

unsigned int vpArray2D< double >::getCols ( ) const
inlineinherited

Return the number of columns of the 2D array.

See also
getRows(), size()
Examples
catchLuminanceMapping.cpp, catchMatrixCholesky.cpp, catchPoseVector.cpp, perfMatrixMultiplication.cpp, perfMatrixTranspose.cpp, servoViper850Point2DArtVelocity-jointAvoidance-basic.cpp, testDisplacement.cpp, testMatrix.cpp, testMatrixConditionNumber.cpp, testMatrixConvolution.cpp, testMatrixDeterminant.cpp, testMatrixInitialization.cpp, testMatrixInverse.cpp, testMatrixPseudoInverse.cpp, and testSvd.cpp.

Definition at line 423 of file vpArray2D.h.

Referenced by vpMatrix::choleskyByEigen3(), vpMatrix::choleskyByLapack(), vpMatrix::choleskyByOpenCV(), vpMatrix::cond(), vpMatrix::cppPrint(), vpRowVector::cppPrint(), vpMatrix::csvPrint(), vpRowVector::csvPrint(), vpMatrix::detByLUEigen3(), vpMatrix::extract(), vpHomogeneousMatrix::getCol(), vpMatrix::getCol(), vpRotationMatrix::getCol(), vpMatrix::inducedL2Norm(), vpMatrix::inverseByLUEigen3(), vpMatrix::inverseByQRLapack(), vpRotationMatrix::isARotationMatrix(), vpMatrix::kernel(), vpMatrix::maplePrint(), vpRowVector::maplePrint(), vpMatrix::matlabPrint(), vpRowVector::matlabPrint(), vpMatrix::nullSpace(), vpMatrix::nullSpace(), vpRowVector::operator*(), vpRowVector::operator+(), vpRowVector::operator+=(), vpRowVector::operator-(), vpRowVector::operator-=(), vpForceTwistMatrix::print(), vpMatrix::print(), vpRowVector::print(), vpVelocityTwistMatrix::print(), vpMatrix::row(), vpMatrix::svdEigen3(), vpMatrix::svdLapack(), vpMatrix::svdOpenCV(), vpRowVector::vpRowVector(), and vpRowVector::vpRowVector().

◆ getMaxValue()

double vpArray2D< double >::getMaxValue ( ) const
inherited

Return the array max value.

Examples
servoMomentImage.cpp.

Definition at line 425 of file vpArray2D.h.

◆ getMinValue()

double vpArray2D< double >::getMinValue ( ) const
inherited

Return the array min value.

Examples
servoMomentImage.cpp.

Definition at line 427 of file vpArray2D.h.

◆ getRows()

unsigned int vpArray2D< double >::getRows ( ) const
inlineinherited

Return the number of rows of the 2D array.

See also
getCols(), size()
Examples
catchLuminanceMapping.cpp, catchMatrixCholesky.cpp, catchParticleFilter.cpp, catchPoseVector.cpp, perfMatrixMultiplication.cpp, perfMatrixTranspose.cpp, testDisplacement.cpp, testMatrix.cpp, testMatrixConditionNumber.cpp, testMatrixConvolution.cpp, testMatrixDeterminant.cpp, testMatrixInitialization.cpp, testMatrixInverse.cpp, testMatrixPseudoInverse.cpp, and testSvd.cpp.

Definition at line 433 of file vpArray2D.h.

Referenced by vpMatrix::choleskyByEigen3(), vpMatrix::choleskyByLapack(), vpMatrix::choleskyByOpenCV(), vpMatrix::column(), vpMatrix::cond(), vpColVector::cppPrint(), vpMatrix::cppPrint(), vpColVector::csvPrint(), vpMatrix::csvPrint(), vpMatrix::detByLUEigen3(), vpMatrix::extract(), vpHomogeneousMatrix::getCol(), vpMatrix::getCol(), vpRotationMatrix::getCol(), vpMatrix::inducedL2Norm(), vpMatrix::inverseByCholeskyLapack(), vpMatrix::inverseByLUEigen3(), vpMatrix::inverseByQRLapack(), vpRotationMatrix::isARotationMatrix(), vpMatrix::kernel(), vpColVector::maplePrint(), vpMatrix::maplePrint(), vpColVector::matlabPrint(), vpMatrix::matlabPrint(), vpMatrix::nullSpace(), vpMatrix::nullSpace(), vpColVector::operator*(), vpColVector::operator+(), vpColVector::operator+(), vpColVector::operator+=(), vpColVector::operator+=(), vpColVector::operator-(), vpColVector::operator-=(), vpColVector::operator-=(), vpColVector::print(), vpForceTwistMatrix::print(), vpMatrix::print(), vpPoseVector::print(), vpVelocityTwistMatrix::print(), vpMatrix::svdEigen3(), vpMatrix::svdLapack(), vpMatrix::svdOpenCV(), vpColVector::vpColVector(), and vpColVector::vpColVector().

◆ hadamard()

vpArray2D< double > vpArray2D< double >::hadamard ( const vpArray2D< double > & m) const
inherited

Compute the Hadamard product (element wise matrix multiplication).

Parameters
m: Second matrix;
Returns
m1.hadamard(m2) The Hadamard product : $ m1 \circ m2 = (m1 \circ
m2)_{i,j} = (m1)_{i,j} (m2)_{i,j} $

Definition at line 732 of file vpArray2D.h.

References vpArray2D().

◆ init()

VP_DEPRECATED void vpVelocityTwistMatrix::init ( )
inline
Deprecated
Provided only for compat with previous releases. This function does nothing.

Definition at line 240 of file vpVelocityTwistMatrix.h.

◆ insert()

void vpArray2D< double >::insert ( const vpArray2D< double > & A,
unsigned int r,
unsigned int c )
inlineinherited

Insert array A at the given position in the current array.

Warning
Throw vpException::dimensionError if the dimensions of the matrices do not allow the operation.
Parameters
A: The array to insert.
r: The index of the row to begin to insert data.
c: The index of the column to begin to insert data.

Definition at line 586 of file vpArray2D.h.

◆ inverse() [1/2]

vpVelocityTwistMatrix vpVelocityTwistMatrix::inverse ( ) const

Invert the velocity twist matrix.

Definition at line 472 of file vpVelocityTwistMatrix.cpp.

References buildFrom(), extract(), and vpVelocityTwistMatrix().

Referenced by inverse(), and vpMatrix.

◆ inverse() [2/2]

void vpVelocityTwistMatrix::inverse ( vpVelocityTwistMatrix & V) const

Invert the velocity twist matrix.

Definition at line 488 of file vpVelocityTwistMatrix.cpp.

References inverse(), and vpVelocityTwistMatrix().

◆ isFinite()

bool vpArray2D< double >::isFinite ( const vpArray2D< double > & A)
inlinestaticinherited

Definition at line 1188 of file vpArray2D.h.

◆ load()

bool vpArray2D< double >::load ( const std::string & filename,
vpArray2D< double > & A,
bool binary = false,
char * header = nullptr )
inlinestaticinherited

Load a matrix from a file.

Parameters
filename: Absolute file name.
A: Array to be loaded
binary: If true the matrix is loaded from a binary file, else from a text file.
header: Header of the file is loaded in this parameter.
Returns
Returns true if success.
See also
save()

Definition at line 760 of file vpArray2D.h.

◆ loadYAML()

bool vpArray2D< double >::loadYAML ( const std::string & filename,
vpArray2D< double > & A,
char * header = nullptr )
inlinestaticinherited

◆ operator!=()

bool operator!= ( const vpArray2D< double > & A) const
inherited

Not equal to comparison operator of a 2D array.

Definition at line 612 of file vpArray2D.h.

References vpArray2D().

◆ operator*() [1/3]

vpColVector vpVelocityTwistMatrix::operator* ( const vpColVector & v) const

Operator that allows to multiply a twist transformation matrix by a 6-dimension column vector.

Parameters
v: Velocity skew vector.
Exceptions
vpException::dimensionErrorIf v is not a 6 dimension column vector.

Definition at line 323 of file vpVelocityTwistMatrix.cpp.

References vpException::dimensionError, and vpArray2D< double >::rowPtrs.

◆ operator*() [2/3]

vpMatrix vpVelocityTwistMatrix::operator* ( const vpMatrix & M) const

Operator that allows to multiply a velocity twist transformation matrix by a matrix.

As shown in the example below, this operator can be used to compute the corresponding camera velocity skew from the joint velocities knowing the robot jacobian.

#include <visp3/core/vpColVector.h>
#include <visp3/core/vpConfig.h>
#include <visp3/core/vpVelocityTwistMatrix.h>
#include <visp3/robot/vpSimulatorCamera.h>
#ifdef ENABLE_VISP_NAMESPACE
using namespace VISP_NAMESPACE_NAME;
#endif
int main()
{
vpColVector q_vel(6); // Joint velocity on the 6 joints
// ... q_vel need here to be initialized
vpColVector c_v(6); // Velocity in the camera frame: vx,vy,vz,wx,wy,wz
vpVelocityTwistMatrix cVe; // Velocity skew transformation from camera frame to end-effector
robot.get_cVe(cVe);
vpMatrix eJe; // Robot jacobian
robot.get_eJe(eJe);
// Compute the velocity in the camera frame
c_v = cVe * eJe * q_vel;
return 0;
}
Class that defines the simplest robot: a free flying camera.
Exceptions
vpException::dimensionErrorIf M is not a 6 rows dimension matrix.

Definition at line 290 of file vpVelocityTwistMatrix.cpp.

References vpException::dimensionError, vpArray2D< Type >::getCols(), vpArray2D< Type >::getRows(), vpArray2D< double >::rowPtrs, and vpMatrix.

◆ operator*() [3/3]

vpVelocityTwistMatrix vpVelocityTwistMatrix::operator* ( const vpVelocityTwistMatrix & V) const

Operator that allows to multiply a velocity twist transformation matrix by an other velocity twist transformation matrix.

Definition at line 231 of file vpVelocityTwistMatrix.cpp.

References vpArray2D< Type >::rowPtrs, vpArray2D< double >::rowPtrs, and vpVelocityTwistMatrix().

Referenced by vpMatrix.

◆ operator=()

vpVelocityTwistMatrix & vpVelocityTwistMatrix::operator= ( const vpVelocityTwistMatrix & V)

Copy operator that allow to set a velocity twist matrix from an other one.

Parameters
V: Velocity twist matrix to copy.

Definition at line 55 of file vpVelocityTwistMatrix.cpp.

References vpArray2D< Type >::rowPtrs, vpArray2D< double >::rowPtrs, and vpVelocityTwistMatrix().

◆ operator[]()

double * vpArray2D< double >::operator[] ( unsigned int i)
inlineinherited

Set element $A_{ij} = x$ using A[i][j] = x.

Definition at line 696 of file vpArray2D.h.

◆ print()

int vpVelocityTwistMatrix::print ( std::ostream & s,
unsigned int length,
char const * intro = nullptr ) const

Pretty print a velocity twist matrix. The data are tabulated. The common widths before and after the decimal point are set with respect to the parameter maxlen.

Parameters
sStream used for the printing.
lengthThe suggested width of each matrix element. The actual width grows in order to accommodate the whole integral part, and shrinks if the whole extent is not needed for all the numbers.
introThe introduction which is printed before the matrix. Can be set to zero (or omitted), in which case the introduction is not printed.
Returns
Returns the common total width for all matrix elements
See also
std::ostream &operator<<(std::ostream &s, const vpArray2D<Type> &A)
Examples
testTwistMatrix.cpp.

Definition at line 542 of file vpVelocityTwistMatrix.cpp.

References vpArray2D< double >::getCols(), vpArray2D< double >::getRows(), vpMath::maximum(), and vpArray2D< double >::size().

Referenced by vpMatrix.

◆ reshape()

void vpArray2D< double >::reshape ( unsigned int nrows,
unsigned int ncols )
inlineinherited
Examples
testMatrixInitialization.cpp.

Definition at line 545 of file vpArray2D.h.

◆ resize() [1/2]

void vpArray2D< double >::resize ( unsigned int nrows,
unsigned int ncols,
bool flagNullify = true,
bool recopy_ = true )
inlineinherited

Set the size of the array and initialize all the values to zero.

Parameters
nrows: number of rows.
ncols: number of column.
flagNullify: if true, then the array is re-initialized to 0 after resize. If false, the initial values from the common part of the array (common part between old and new version of the array) are kept. Default value is true.
recopy_: if true, will perform an explicit recopy of the old data.
Examples
catchParticleFilter.cpp, perfMatrixMultiplication.cpp, perfMatrixTranspose.cpp, testMatrix.cpp, testMatrixConditionNumber.cpp, testMatrixDeterminant.cpp, testMatrixInverse.cpp, testMatrixPseudoInverse.cpp, and testSvd.cpp.

Definition at line 448 of file vpArray2D.h.

Referenced by vpMatrix::diag(), vpMatrix::eye(), vpMatrix::init(), vpMatrix::operator,(), vpMatrix::operator<<(), vpMatrix::operator=(), vpMatrix::operator=(), vpMatrix::operator=(), vpMatrix::operator=(), vpMatrix::operator=(), vpMatrix::operator=(), vpMatrix::operator=(), vpMatrix::operator=(), vpMatrix::operator=(), vpMatrix::operator=(), vpMatrix::operator=(), vpMatrix::stack(), vpMatrix::stack(), vpMatrix::stack(), vpMatrix::svdEigen3(), and vpMatrix::svdOpenCV().

◆ resize() [2/2]

VP_NORETURN void vpVelocityTwistMatrix::resize ( unsigned int nrows,
unsigned int ncols,
bool flagNullify = true )
inline

This function is not applicable to a velocity twist matrix that is always a 6-by-6 matrix.

Exceptions
vpException::fatalErrorWhen this function is called.

Definition at line 223 of file vpVelocityTwistMatrix.h.

References vpException::fatalError.

◆ save()

bool vpArray2D< double >::save ( const std::string & filename,
const vpArray2D< double > & A,
bool binary = false,
const char * header = "" )
inlinestaticinherited

Save a matrix to a file.

Parameters
filename: Absolute file name.
A: Array to be saved.
binary: If true the matrix is saved in a binary file, else a text file.
header: Optional line that will be saved at the beginning of the file.
Returns
Returns true if success.

Warning : If you save the matrix as in a text file the precision is less than if you save it in a binary file.

See also
load()

Definition at line 965 of file vpArray2D.h.

◆ saveYAML()

bool vpArray2D< double >::saveYAML ( const std::string & filename,
const vpArray2D< double > & A,
const char * header = "" )
inlinestaticinherited

Save an array in a YAML-formatted file.

Parameters
filename: absolute file name.
A: array to be saved in the file.
header: optional lines that will be saved at the beginning of the file. Should be YAML-formatted and will adapt to the indentation if any.
Returns
Returns true if success.

Here is an example of outputs.

vpArray2D::saveYAML("matrix.yml", M, "example: a YAML-formatted header");
vpArray2D::saveYAML("matrixIndent.yml", M, "example:\n - a YAML-formatted \
header\n - with inner indentation");
static bool saveYAML(const std::string &filename, const vpArray2D< Type > &A, const char *header="")
Definition vpArray2D.h:1061

Content of matrix.yml:

example: a YAML-formatted header
rows: 3
cols: 4
- [0, 0, 0, 0]
- [0, 0, 0, 0]
- [0, 0, 0, 0]

Content of matrixIndent.yml:

example:
- a YAML-formatted header
- with inner indentation
rows: 3
cols: 4
- [0, 0, 0, 0]
- [0, 0, 0, 0]
- [0, 0, 0, 0]
See also
loadYAML()
Examples
visp-acquire-franka-calib-data.cpp, and visp-acquire-universal-robots-calib-data.cpp.

Definition at line 1061 of file vpArray2D.h.

◆ setIdentity()

void vpVelocityTwistMatrix::setIdentity ( )
Deprecated
You should rather use eye().
Deprecated
You should rather use eye().

Set the velocity twist transformation matrix to identity.

Definition at line 641 of file vpVelocityTwistMatrix.cpp.

References eye().

◆ size()

◆ t()

◆ view()

vpArray2D< double > vpArray2D< double >::view ( const vpArray2D< double > & A)
inlinestaticinherited

Creates a view of the Matrix A. A view shares the same underlying memory as the original array. It can be written into, modifying the original data. However, the array cannot be resized.

When you use this method, it is your responsibility to ensure that the lifespan of the view does not exceed the lifespan of the original array.

Parameters
Athe array to view
Returns
vpArray2D<T>

Definition at line 324 of file vpArray2D.h.

◆ operator==() [1/2]

bool operator== ( const vpArray2D< double > & A) const
related

◆ operator==() [2/2]

bool operator== ( const vpArray2D< float > & A) const
related

◆ vpGEMM()

void vpGEMM ( const vpArray2D< double > & A,
const vpArray2D< double > & B,
const double & alpha,
const vpArray2D< double > & C,
const double & beta,
vpArray2D< double > & D,
const unsigned int & ops = 0 )
related

This function performs generalized matrix multiplication: D = alpha*op(A)*op(B) + beta*op(C), where op(X) is X or X^T. Operation on A, B and C matrices is described by enumeration vpGEMMmethod().

For example, to compute D = alpha*A^T*B^T+beta*C we need to call :

vpGEMM(A, B, alpha, C, beta, D, VP_GEMM_A_T + VP_GEMM_B_T);
void vpGEMM(const vpArray2D< double > &A, const vpArray2D< double > &B, const double &alpha, const vpArray2D< double > &C, const double &beta, vpArray2D< double > &D, const unsigned int &ops=0)
Definition vpGEMM.h:414

If C is not used, vpGEMM must be called using an empty array null. Thus to compute D = alpha*A^T*B, we have to call:

vpGEMM(A, B, alpha, null, 0, D, VP_GEMM_B_T);
Exceptions
vpException::incorrectMatrixSizeErrorif the sizes of the matrices do not allow the operations.
Parameters
A: An array that could be a vpMatrix.
B: An array that could be a vpMatrix.
alpha: A scalar.
C: An array that could be a vpMatrix.
beta: A scalar.
D: The resulting array that could be a vpMatrix.
ops: A scalar describing operation applied on the matrices. Possible values are the one defined in vpGEMMmethod(): VP_GEMM_A_T, VP_GEMM_B_T, VP_GEMM_C_T.

Definition at line 414 of file vpGEMM.h.

References vpException::functionNotImplementedError, and vpArray2D().

◆ vpGEMMmethod

enum vpGEMMmethod
related

Enumeration of the operations applied on matrices in vpGEMM() function.

Operations are :

  • VP_GEMM_A_T to use the transpose matrix of A instead of the matrix A
  • VP_GEMM_B_T to use the transpose matrix of B instead of the matrix B
  • VP_GEMM_C_T to use the transpose matrix of C instead of the matrix C

Definition at line 53 of file vpGEMM.h.

◆ vpMatrix

Member Data Documentation

◆ colNum

unsigned int vpArray2D< double >::colNum
protectedinherited

Number of columns in the array.

Definition at line 1203 of file vpArray2D.h.

Referenced by vpMatrix::AAt(), vpMatrix::AtA(), vpMatrix::choleskyByLapack(), vpMatrix::choleskyByOpenCV(), vpColVector::clear(), vpMatrix::clear(), vpRowVector::clear(), vpMatrix::dampedInverse(), vpMatrix::detByLU(), vpMatrix::detByLUEigen3(), vpMatrix::detByLULapack(), vpMatrix::detByLUOpenCV(), vpMatrix::diag(), vpMatrix::eigenValues(), vpMatrix::eigenValues(), vpMatrix::expm(), vpRowVector::extract(), vpMatrix::eye(), vpMatrix::getDiag(), vpMatrix::getRow(), vpMatrix::getRow(), vpColVector::hadamard(), vpMatrix::hadamard(), vpRowVector::hadamard(), vpMatrix::infinityNorm(), vpSubColVector::init(), vpSubMatrix::init(), vpSubRowVector::init(), vpMatrix::insert(), vpRowVector::insert(), vpMatrix::inverseByCholeskyLapack(), vpMatrix::inverseByCholeskyOpenCV(), vpMatrix::inverseByLU(), vpMatrix::inverseByLUEigen3(), vpMatrix::inverseByLULapack(), vpMatrix::inverseByLUOpenCV(), vpMatrix::inverseByQRLapack(), vpMatrix::inverseTriangular(), vpMatrix::operator*(), vpMatrix::operator*(), vpMatrix::operator*(), vpMatrix::operator*(), vpMatrix::operator*(), vpMatrix::operator*(), vpRotationMatrix::operator*(), vpRotationMatrix::operator*(), vpRowVector::operator*(), vpRowVector::operator*(), vpRowVector::operator*(), vpMatrix::operator*=(), vpRotationMatrix::operator*=(), vpRowVector::operator*=(), vpRowVector::operator+(), vpMatrix::operator+=(), vpMatrix::operator+=(), vpRowVector::operator+=(), vpMatrix::operator,(), vpRowVector::operator,(), vpRowVector::operator-(), vpRowVector::operator-(), vpMatrix::operator-=(), vpMatrix::operator-=(), vpRowVector::operator-=(), vpMatrix::operator/(), vpRowVector::operator/(), vpMatrix::operator/=(), vpRowVector::operator/=(), vpColVector::operator<<(), vpMatrix::operator<<(), vpMatrix::operator=(), vpRowVector::operator=(), vpRowVector::operator=(), vpRowVector::operator=(), vpSubMatrix::operator=(), vpSubMatrix::operator=(), vpSubMatrix::operator=(), vpSubRowVector::operator=(), vpSubRowVector::operator=(), vpSubRowVector::operator=(), operator==(), operator==(), vpColVector::operator==(), vpRowVector::operator==(), vpMatrix::qr(), vpRowVector::reshape(), vpMatrix::setIdentity(), vpMatrix::solveByQR(), vpMatrix::solveByQR(), vpMatrix::solveBySVD(), vpMatrix::stack(), vpMatrix::stack(), vpMatrix::stack(), vpRowVector::stack(), vpMatrix::stackColumns(), vpMatrix::stackColumns(), vpMatrix::stackRows(), vpMatrix::stackRows(), vpMatrix::sum(), vpRowVector::sum(), vpMatrix::sumSquare(), vpRowVector::sumSquare(), vpMatrix::svdEigen3(), vpMatrix::svdLapack(), vpRowVector::t(), and vpMatrix::transpose().

◆ data

double* vpArray2D< double >::data
inherited

Address of the first element of the data array.

Examples
catchQuaternion.cpp, catchRotation.cpp, perfMatrixMultiplication.cpp, testDisplacement.cpp, testMatrix.cpp, testMatrixInitialization.cpp, testUniversalRobotsGetData.cpp, and tutorial-bridge-opencv-matrix.cpp.

Definition at line 149 of file vpArray2D.h.

Referenced by vpMatrix::AAt(), vpMatrix::AtA(), vpHomogeneousMatrix::buildFrom(), vpHomogeneousMatrix::buildFrom(), vpQuaternionVector::buildFrom(), vpQuaternionVector::buildFrom(), vpRxyzVector::buildFrom(), vpRxyzVector::buildFrom(), vpRxyzVector::buildFrom(), vpRzyxVector::buildFrom(), vpRzyxVector::buildFrom(), vpRzyxVector::buildFrom(), vpRzyzVector::buildFrom(), vpRzyzVector::buildFrom(), vpRzyzVector::buildFrom(), vpThetaUVector::buildFrom(), vpThetaUVector::buildFrom(), vpThetaUVector::buildFrom(), vpThetaUVector::buildFrom(), vpThetaUVector::buildFrom(), vpSubColVector::checkParentStatus(), vpSubMatrix::checkParentStatus(), vpSubRowVector::checkParentStatus(), vpColVector::clear(), vpMatrix::clear(), vpRowVector::clear(), vpHomogeneousMatrix::convert(), vpHomogeneousMatrix::convert(), vpMatrix::detByLUEigen3(), vpMatrix::detByLUOpenCV(), vpMatrix::expm(), vpThetaUVector::extract(), vpMatrix::frobeniusNorm(), vpMatrix::getRow(), vpThetaUVector::getTheta(), vpThetaUVector::getU(), vpColVector::hadamard(), vpMatrix::hadamard(), vpRowVector::hadamard(), vpSubColVector::init(), vpSubMatrix::init(), vpSubRowVector::init(), vpColVector::insert(), vpMatrix::insert(), vpMatrix::inverseByCholeskyOpenCV(), vpMatrix::inverseByLUEigen3(), vpMatrix::inverseByLUOpenCV(), vpHomogeneousMatrix::isValid(), vpColVector::operator*(), vpHomography::operator*(), vpMatrix::operator*(), vpMatrix::operator*(), vpRowVector::operator*(), vpRowVector::operator*(), vpTranslationVector::operator*(), vpColVector::operator,(), vpHomogeneousMatrix::operator,(), vpRotationMatrix::operator,(), vpRotationVector::operator,(), vpRowVector::operator,(), vpTranslationVector::operator,(), vpColVector::operator-(), vpRowVector::operator-(), vpTranslationVector::operator-(), vpColVector::operator/(), vpHomography::operator/(), vpRowVector::operator/(), vpTranslationVector::operator/(), vpHomography::operator/=(), vpColVector::operator<<(), vpHomogeneousMatrix::operator<<(), vpRotationMatrix::operator<<(), vpRotationVector::operator<<(), vpRowVector::operator<<(), vpTranslationVector::operator<<(), vpColVector::operator=(), vpColVector::operator=(), vpColVector::operator=(), vpColVector::operator=(), vpColVector::operator=(), vpColVector::operator=(), vpColVector::operator=(), vpMatrix::operator=(), vpMatrix::operator=(), vpMatrix::operator=(), vpMatrix::operator=(), vpMatrix::operator=(), vpMatrix::operator=(), vpMatrix::operator=(), vpMatrix::operator=(), vpMatrix::operator=(), vpMatrix::operator=(), vpMatrix::operator=(), vpQuaternionVector::operator=(), vpQuaternionVector::operator=(), vpRotationMatrix::operator=(), vpRotationVector::operator=(), vpRowVector::operator=(), vpRowVector::operator=(), vpRowVector::operator=(), vpRxyzVector::operator=(), vpRxyzVector::operator=(), vpRxyzVector::operator=(), vpRzyxVector::operator=(), vpRzyxVector::operator=(), vpRzyxVector::operator=(), vpRzyzVector::operator=(), vpRzyzVector::operator=(), vpRzyzVector::operator=(), vpSubColVector::operator=(), vpSubColVector::operator=(), vpSubColVector::operator=(), vpSubColVector::operator=(), vpSubColVector::operator=(), vpSubColVector::operator=(), vpSubColVector::operator=(), vpSubRowVector::operator=(), vpSubRowVector::operator=(), vpSubRowVector::operator=(), vpSubRowVector::operator=(), vpThetaUVector::operator=(), vpThetaUVector::operator=(), vpThetaUVector::operator=(), vpTranslationVector::operator=(), vpTranslationVector::operator=(), vpTranslationVector::operator=(), vpTranslationVector::operator=(), operator==(), operator==(), vpColVector::operator==(), vpColVector::operator==(), vpRowVector::operator==(), vpColVector::operator[](), vpColVector::operator[](), vpPoseVector::operator[](), vpPoseVector::operator[](), vpRotationVector::operator[](), vpRotationVector::operator[](), vpRowVector::operator[](), vpRowVector::operator[](), vpTranslationVector::operator[](), vpTranslationVector::operator[](), vpRotationMatrix::orthogonalize(), vpMatrix::qr(), vpColVector::reshape(), vpRowVector::reshape(), vpQuaternionVector::set(), vpMatrix::stack(), vpMatrix::stack(), vpMatrix::stackRows(), vpColVector::sum(), vpColVector::sumSquare(), vpMatrix::svdEigen3(), vpMatrix::svdLapack(), vpMatrix::svdOpenCV(), vpColVector::t(), vpPoseVector::t(), vpRotationVector::t(), vpRowVector::t(), vpTranslationVector::t(), vpColVector::toStdVector(), vpPoseVector::toStdVector(), vpRotationVector::toStdVector(), vpRowVector::toStdVector(), vpMatrix::transpose(), vpColVector::view(), vpMatrix::view(), vpColVector::vpColVector(), vpHomogeneousMatrix::vpHomogeneousMatrix(), vpQuaternionVector::w(), vpQuaternionVector::w(), vpQuaternionVector::x(), vpQuaternionVector::x(), vpQuaternionVector::y(), vpQuaternionVector::y(), vpQuaternionVector::z(), vpQuaternionVector::z(), vpSubColVector::~vpSubColVector(), vpSubMatrix::~vpSubMatrix(), and vpSubRowVector::~vpSubRowVector().

◆ dsize

◆ isMemoryOwner

bool vpArray2D< double >::isMemoryOwner
protectedinherited

Whether this array owns the memory it points to.

Definition at line 1209 of file vpArray2D.h.

Referenced by vpColVector::clear(), and vpRowVector::clear().

◆ isRowPtrsOwner

bool vpArray2D< double >::isRowPtrsOwner
protectedinherited

Whether this array owns the row pointers.

Definition at line 1211 of file vpArray2D.h.

◆ rowNum

unsigned int vpArray2D< double >::rowNum
protectedinherited

Number of rows in the array.

Definition at line 1201 of file vpArray2D.h.

Referenced by vpMatrix::AAt(), vpMatrix::AtA(), vpMatrix::choleskyByLapack(), vpMatrix::choleskyByOpenCV(), vpColVector::clear(), vpMatrix::clear(), vpRowVector::clear(), vpMatrix::detByLU(), vpMatrix::detByLUEigen3(), vpMatrix::detByLULapack(), vpMatrix::detByLUOpenCV(), vpMatrix::diag(), vpMatrix::eigenValues(), vpMatrix::eigenValues(), vpMatrix::expm(), vpColVector::extract(), vpMatrix::eye(), vpMatrix::getCol(), vpMatrix::getDiag(), vpMatrix::getRow(), vpColVector::hadamard(), vpMatrix::hadamard(), vpRowVector::hadamard(), vpColVector::infinityNorm(), vpMatrix::infinityNorm(), vpSubColVector::init(), vpSubMatrix::init(), vpSubRowVector::init(), vpMatrix::insert(), vpMatrix::inverseByCholeskyLapack(), vpMatrix::inverseByCholeskyOpenCV(), vpMatrix::inverseByLU(), vpMatrix::inverseByLUEigen3(), vpMatrix::inverseByLULapack(), vpMatrix::inverseByLUOpenCV(), vpMatrix::inverseByQRLapack(), vpMatrix::inverseTriangular(), vpColVector::operator*(), vpColVector::operator*(), vpColVector::operator*(), vpColVector::operator*(), vpHomogeneousMatrix::operator*(), vpMatrix::operator*(), vpMatrix::operator*(), vpMatrix::operator*(), vpMatrix::operator*(), vpMatrix::operator*(), vpMatrix::operator*(), vpRotationMatrix::operator*(), vpRotationMatrix::operator*(), vpTranslationVector::operator*(), vpColVector::operator*=(), vpMatrix::operator*=(), vpRotationMatrix::operator*=(), vpTranslationVector::operator*=(), vpColVector::operator+(), vpColVector::operator+=(), vpColVector::operator+=(), vpMatrix::operator+=(), vpMatrix::operator+=(), vpColVector::operator,(), vpColVector::operator-(), vpColVector::operator-(), vpColVector::operator-=(), vpColVector::operator-=(), vpMatrix::operator-=(), vpMatrix::operator-=(), vpColVector::operator/(), vpMatrix::operator/(), vpColVector::operator/=(), vpMatrix::operator/=(), vpTranslationVector::operator/=(), vpColVector::operator<<(), vpMatrix::operator<<(), vpColVector::operator=(), vpColVector::operator=(), vpColVector::operator=(), vpColVector::operator=(), vpColVector::operator=(), vpColVector::operator=(), vpMatrix::operator=(), vpMatrix::operator=(), vpRowVector::operator=(), vpSubColVector::operator=(), vpSubColVector::operator=(), vpSubColVector::operator=(), vpSubColVector::operator=(), vpSubColVector::operator=(), vpSubColVector::operator=(), vpSubColVector::operator=(), vpSubMatrix::operator=(), vpSubMatrix::operator=(), vpSubMatrix::operator=(), vpSubRowVector::operator=(), vpSubRowVector::operator=(), vpSubRowVector::operator=(), vpSubRowVector::operator=(), vpTranslationVector::operator=(), vpTranslationVector::operator=(), operator==(), operator==(), vpColVector::operator==(), vpColVector::operator==(), vpRowVector::operator==(), vpMatrix::qr(), vpColVector::reshape(), vpMatrix::setIdentity(), vpColVector::stack(), vpMatrix::stack(), vpMatrix::stack(), vpMatrix::stack(), vpMatrix::stackColumns(), vpMatrix::stackColumns(), vpMatrix::stackRows(), vpMatrix::stackRows(), vpColVector::sum(), vpMatrix::sum(), vpColVector::sumSquare(), vpMatrix::sumSquare(), vpRotationVector::sumSquare(), vpTranslationVector::sumSquare(), vpMatrix::svdEigen3(), vpMatrix::svdLapack(), vpColVector::t(), vpPoseVector::t(), vpTranslationVector::t(), and vpMatrix::transpose().

◆ rowPtrs

double** vpArray2D< double >::rowPtrs
protectedinherited

Address of the first element of each rows.

Definition at line 1205 of file vpArray2D.h.

Referenced by vpMatrix::AAt(), vpColVector::clear(), vpMatrix::clear(), vpRowVector::clear(), vpMatrix::infinityNorm(), vpColVector::init(), vpMatrix::init(), vpRowVector::init(), vpSubColVector::init(), vpSubMatrix::init(), vpSubRowVector::init(), vpForceTwistMatrix::operator*(), vpForceTwistMatrix::operator*(), vpForceTwistMatrix::operator*(), vpHomogeneousMatrix::operator*(), vpMatrix::operator*(), vpMatrix::operator*(), vpMatrix::operator*(), vpMatrix::operator*(), vpMatrix::operator*(), vpMatrix::operator*(), vpRotationMatrix::operator*(), vpRotationMatrix::operator*(), vpRotationMatrix::operator*(), vpRotationMatrix::operator*(), vpVelocityTwistMatrix::operator*(), vpVelocityTwistMatrix::operator*(), vpVelocityTwistMatrix::operator*(), vpMatrix::operator*=(), vpRotationMatrix::operator*=(), vpMatrix::operator+=(), vpMatrix::operator+=(), vpMatrix::operator,(), vpMatrix::operator-=(), vpMatrix::operator-=(), vpMatrix::operator/(), vpMatrix::operator/=(), vpColVector::operator<<(), vpMatrix::operator<<(), vpMatrix::operator<<(), vpForceTwistMatrix::operator=(), vpHomogeneousMatrix::operator=(), vpMatrix::operator=(), vpRotationMatrix::operator=(), vpRowVector::operator=(), vpSubMatrix::operator=(), vpSubMatrix::operator=(), vpSubMatrix::operator=(), vpVelocityTwistMatrix::operator=(), vpMatrix::stack(), vpMatrix::stackColumns(), vpMatrix::sum(), vpRowVector::sum(), vpMatrix::sumSquare(), vpRotationVector::sumSquare(), vpRowVector::sumSquare(), and vpTranslationVector::sumSquare().