Eigne Matrix Class Library
Dependents: Eigen_test Odometry_test AttitudeEstimation_usingTicker MPU9250_Quaternion_Binary_Serial ... more
Homogeneous< MatrixType, _Direction > Class Template Reference
[Geometry module]
#include <Homogeneous.h>
Inherits Eigen::internal::no_assignment_operator, and MatrixBase< Homogeneous< MatrixType, _Direction > >.
Public Types | |
typedef Matrix< Scalar, EIGEN_SIZE_MAX(RowsAtCompileTime, ColsAtCompileTime), EIGEN_SIZE_MAX(RowsAtCompileTime, ColsAtCompileTime)> | SquareMatrixType |
type of the equivalent square matrix | |
typedef Matrix< typename internal::traits< Homogeneous < MatrixType, _Direction > >::Scalar, internal::traits < Homogeneous< MatrixType, _Direction > >::RowsAtCompileTime, internal::traits< Homogeneous < MatrixType, _Direction > >::ColsAtCompileTime, AutoAlign|(internal::traits < Homogeneous< MatrixType, _Direction > >::Flags &RowMajorBit?RowMajor:ColMajor), internal::traits< Homogeneous < MatrixType, _Direction > >::MaxRowsAtCompileTime, internal::traits< Homogeneous < MatrixType, _Direction > >::MaxColsAtCompileTime > | PlainObject |
The plain matrix type corresponding to this expression. | |
Public Member Functions | |
Index | diagonalSize () const |
Homogeneous< MatrixType, _Direction > & | lazyAssign (const Flagged< OtherDerived, 0, EvalBeforeAssigningBit > &other) |
bool | operator== (const MatrixBase< OtherDerived > &other) const |
bool | operator!= (const MatrixBase< OtherDerived > &other) const |
ArrayWrapper< Homogeneous < MatrixType, _Direction > > | array () |
Detailed Description
template<typename MatrixType, int _Direction>
class Eigen::Homogeneous< MatrixType, _Direction >
Expression of one (or a set of) homogeneous vector(s)
- Parameters:
-
MatrixType the type of the object in which we are making homogeneous
This class represents an expression of one (or a set of) homogeneous vector(s). It is the return type of MatrixBase::homogeneous() and most of the time this is the only way it is used.
- See also:
- MatrixBase::homogeneous()
Definition at line 61 of file Homogeneous.h.
Member Typedef Documentation
typedef Matrix<typename internal::traits<Homogeneous< MatrixType, _Direction > >::Scalar, internal::traits<Homogeneous< MatrixType, _Direction > >::RowsAtCompileTime, internal::traits<Homogeneous< MatrixType, _Direction > >::ColsAtCompileTime, AutoAlign | (internal::traits<Homogeneous< MatrixType, _Direction > >::Flags&RowMajorBit ? RowMajor : ColMajor), internal::traits<Homogeneous< MatrixType, _Direction > >::MaxRowsAtCompileTime, internal::traits<Homogeneous< MatrixType, _Direction > >::MaxColsAtCompileTime > PlainObject [inherited] |
The plain matrix type corresponding to this expression.
This is not necessarily exactly the return type of eval(). In the case of plain matrices, the return type of eval() is a const reference to a matrix, not a matrix! It is however guaranteed that the return type of eval() is either PlainObject or const PlainObject&.
Definition at line 115 of file MatrixBase.h.
typedef Matrix<Scalar,EIGEN_SIZE_MAX(RowsAtCompileTime,ColsAtCompileTime), EIGEN_SIZE_MAX(RowsAtCompileTime,ColsAtCompileTime)> SquareMatrixType [inherited] |
type of the equivalent square matrix
Definition at line 96 of file MatrixBase.h.
Member Function Documentation
ArrayWrapper<Homogeneous< MatrixType, _Direction > > array | ( | ) | [inherited] |
- Returns:
- an Array expression of this matrix
- See also:
- ArrayBase::matrix()
Definition at line 316 of file MatrixBase.h.
Index diagonalSize | ( | ) | const [inherited] |
- Returns:
- the size of the main diagonal, which is min(rows(),cols()).
- See also:
- rows(), cols(), SizeAtCompileTime.
Definition at line 101 of file MatrixBase.h.
Homogeneous< MatrixType, _Direction > & lazyAssign | ( | const Flagged< OtherDerived, 0, EvalBeforeAssigningBit > & | other ) | [inherited] |
Definition at line 477 of file MatrixBase.h.
bool operator!= | ( | const MatrixBase< OtherDerived > & | other ) | const [inherited] |
- Returns:
- true if at least one pair of coefficients of
*this
and other are not exactly equal to each other.
- Warning:
- When using floating point scalar values you probably should rather use a fuzzy comparison such as isApprox()
- See also:
- isApprox(), operator==
Definition at line 295 of file MatrixBase.h.
bool operator== | ( | const MatrixBase< OtherDerived > & | other ) | const [inherited] |
- Returns:
- true if each coefficients of
*this
and other are all exactly equal.
- Warning:
- When using floating point scalar values you probably should rather use a fuzzy comparison such as isApprox()
- See also:
- isApprox(), operator!=
Definition at line 287 of file MatrixBase.h.
Generated on Tue Jul 12 2022 17:47:05 by 1.7.2