Please, help us to better know about our user community by answering the following short survey: https://forms.gle/wpyrxWi18ox9Z5ae9
Eigen  3.4.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Eigen::Homogeneous< MatrixType, _Direction > Class Template Reference

Detailed Description

template<typename MatrixType, int _Direction>
class Eigen::Homogeneous< MatrixType, _Direction >

Expression of one (or a set of) homogeneous vector(s)

This is defined in the Geometry module.

#include <Eigen/Geometry>
Parameters
MatrixTypethe 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()
+ Inheritance diagram for Eigen::Homogeneous< MatrixType, _Direction >:

Additional Inherited Members

- Public Types inherited from Eigen::DenseBase< Homogeneous< MatrixType, _Direction > >
typedef random_access_iterator_type const_iterator
 
typedef random_access_iterator_type iterator
 
typedef Array< 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 > 
PlainArray
 
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 > 
PlainMatrix
 
typedef internal::conditional
< internal::is_same< typename
internal::traits< Homogeneous
< MatrixType, _Direction >
>::XprKind, MatrixXpr >
::value, PlainMatrix,
PlainArray >::type 
PlainObject
 The plain matrix or array type corresponding to this expression. More...
 
typedef internal::traits
< Homogeneous< MatrixType,
_Direction > >::Scalar 
Scalar
 
typedef internal::traits
< Homogeneous< MatrixType,
_Direction > >::StorageIndex 
StorageIndex
 The type used to store indices. More...
 
typedef Scalar value_type
 
- Public Member Functions inherited from Eigen::MatrixBase< Homogeneous< MatrixType, _Direction > >
const
MatrixFunctionReturnValue
< Homogeneous< MatrixType,
_Direction > > 
acosh () const
 This function requires the unsupported MatrixFunctions module. To compute the coefficient-wise inverse hyperbolic cosine use ArrayBase::acosh . More...
 
ArrayWrapper< Homogeneous
< MatrixType, _Direction > > 
array ()
 
const ArrayWrapper< const
Homogeneous< MatrixType,
_Direction > > 
array () const
 
const
MatrixFunctionReturnValue
< Homogeneous< MatrixType,
_Direction > > 
asinh () const
 This function requires the unsupported MatrixFunctions module. To compute the coefficient-wise inverse hyperbolic sine use ArrayBase::asinh . More...
 
const
MatrixFunctionReturnValue
< Homogeneous< MatrixType,
_Direction > > 
atanh () const
 This function requires the unsupported MatrixFunctions module. To compute the coefficient-wise inverse hyperbolic cosine use ArrayBase::atanh . More...
 
const CwiseBinaryOp
< CustomBinaryOp, const
Homogeneous< MatrixType,
_Direction >, const
OtherDerived > 
binaryExpr (const Eigen::MatrixBase< OtherDerived > &other, const CustomBinaryOp &func=CustomBinaryOp()) const
 
const
MatrixFunctionReturnValue
< Homogeneous< MatrixType,
_Direction > > 
cos () const
 This function requires the unsupported MatrixFunctions module. To compute the coefficient-wise cosine use ArrayBase::cos . More...
 
const
MatrixFunctionReturnValue
< Homogeneous< MatrixType,
_Direction > > 
cosh () const
 This function requires the unsupported MatrixFunctions module. To compute the coefficient-wise hyperbolic cosine use ArrayBase::cosh . More...
 
const CwiseAbsReturnType cwiseAbs () const
 
const CwiseAbs2ReturnType cwiseAbs2 () const
 
const CwiseArgReturnType cwiseArg () const
 
const CwiseBinaryOp
< numext::equal_to< Scalar >
, const Homogeneous
< MatrixType, _Direction >
, const OtherDerived > 
cwiseEqual (const Eigen::MatrixBase< OtherDerived > &other) const
 
const CwiseScalarEqualReturnType cwiseEqual (const Scalar &s) const
 
const CwiseInverseReturnType cwiseInverse () const
 
const CwiseBinaryOp
< internal::scalar_max_op
< Scalar, Scalar >, const
Homogeneous< MatrixType,
_Direction >, const
OtherDerived > 
cwiseMax (const Eigen::MatrixBase< OtherDerived > &other) const
 
const CwiseBinaryOp
< internal::scalar_max_op
< Scalar, Scalar >, const
Homogeneous< MatrixType,
_Direction >, const
ConstantReturnType > 
cwiseMax (const Scalar &other) const
 
const CwiseBinaryOp
< internal::scalar_min_op
< Scalar, Scalar >, const
Homogeneous< MatrixType,
_Direction >, const
OtherDerived > 
cwiseMin (const Eigen::MatrixBase< OtherDerived > &other) const
 
const CwiseBinaryOp
< internal::scalar_min_op
< Scalar, Scalar >, const
Homogeneous< MatrixType,
_Direction >, const
ConstantReturnType > 
cwiseMin (const Scalar &other) const
 
const CwiseBinaryOp
< numext::not_equal_to< Scalar >
, const Homogeneous
< MatrixType, _Direction >
, const OtherDerived > 
cwiseNotEqual (const Eigen::MatrixBase< OtherDerived > &other) const
 
const CwiseBinaryOp
< internal::scalar_product_op
< Homogeneous< MatrixType,
_Direction >::Scalar,
OtherDerived::Scalar >, const
Homogeneous< MatrixType,
_Direction >, const
OtherDerived > 
cwiseProduct (const Eigen::MatrixBase< OtherDerived > &other) const
 
const CwiseBinaryOp
< internal::scalar_quotient_op
< Scalar >, const Homogeneous
< MatrixType, _Direction >
, const OtherDerived > 
cwiseQuotient (const Eigen::MatrixBase< OtherDerived > &other) const
 
const CwiseSignReturnType cwiseSign () const
 
const CwiseSqrtReturnType cwiseSqrt () const
 
Index diagonalSize () const
 
const
MatrixExponentialReturnValue
< Homogeneous< MatrixType,
_Direction > > 
exp () const
 This function requires the unsupported MatrixFunctions module. To compute the coefficient-wise exponential use ArrayBase::exp . More...
 
const
MatrixLogarithmReturnValue
< Homogeneous< MatrixType,
_Direction > > 
log () const
 This function requires the unsupported MatrixFunctions module. To compute the coefficient-wise logarithm use ArrayBase::log . More...
 
const
MatrixFunctionReturnValue
< Homogeneous< MatrixType,
_Direction > > 
matrixFunction (StemFunction f) const
 Helper function for the unsupported MatrixFunctions module.
 
bool operator!= (const MatrixBase< OtherDerived > &other) const
 
const CwiseBinaryOp
< internal::scalar_boolean_and_op,
const Homogeneous< MatrixType,
_Direction >, const
OtherDerived > 
operator&& (const Eigen::MatrixBase< OtherDerived > &other) const
 
const CwiseBinaryOp
< internal::scalar_product_op
< Scalar, T >, Homogeneous
< MatrixType, _Direction >
, Constant< T > > 
operator* (const T &scalar) const
 
const CwiseBinaryOp< sum
< Scalar >, const Homogeneous
< MatrixType, _Direction >
, const OtherDerived > 
operator+ (const Eigen::MatrixBase< OtherDerived > &other) const
 
const CwiseBinaryOp
< difference< Scalar >, const
Homogeneous< MatrixType,
_Direction >, const
OtherDerived > 
operator- (const Eigen::MatrixBase< OtherDerived > &other) const
 
const CwiseBinaryOp
< internal::scalar_quotient_op
< Scalar, T >, Homogeneous
< MatrixType, _Direction >
, Constant< T > > 
operator/ (const T &scalar) const
 
Homogeneous< MatrixType,
_Direction > & 
operator= (const MatrixBase &other)
 
bool operator== (const MatrixBase< OtherDerived > &other) const
 
const CwiseBinaryOp
< internal::scalar_boolean_or_op,
const Homogeneous< MatrixType,
_Direction >, const
OtherDerived > 
operator|| (const Eigen::MatrixBase< OtherDerived > &other) const
 
const MatrixPowerReturnValue
< Homogeneous< MatrixType,
_Direction > > 
pow (const RealScalar &p) const
 This function requires the unsupported MatrixFunctions module. To compute the coefficient-wise power to p use ArrayBase::pow . More...
 
const
MatrixComplexPowerReturnValue
< Homogeneous< MatrixType,
_Direction > > 
pow (const std::complex< RealScalar > &p) const
 This function requires the unsupported MatrixFunctions module. To compute the coefficient-wise power to p use ArrayBase::pow . More...
 
const
MatrixFunctionReturnValue
< Homogeneous< MatrixType,
_Direction > > 
sin () const
 This function requires the unsupported MatrixFunctions module. To compute the coefficient-wise sine use ArrayBase::sin . More...
 
const
MatrixFunctionReturnValue
< Homogeneous< MatrixType,
_Direction > > 
sinh () const
 This function requires the unsupported MatrixFunctions module. To compute the coefficient-wise hyperbolic sine use ArrayBase::sinh . More...
 
const
MatrixSquareRootReturnValue
< Homogeneous< MatrixType,
_Direction > > 
sqrt () const
 This function requires the unsupported MatrixFunctions module. To compute the coefficient-wise square root use ArrayBase::sqrt . More...
 
- Public Member Functions inherited from Eigen::DenseBase< Homogeneous< MatrixType, _Direction > >
FixedBlockXpr<...,...>::Type block (Index startRow, Index startCol, NRowsType blockRows, NColsType blockCols)
 
const ConstFixedBlockXpr
<...,...>::Type 
block (Index startRow, Index startCol, NRowsType blockRows, NColsType blockCols) const
 This is the const version of block(Index,Index,NRowsType,NColsType)
 
FixedBlockXpr< NRows, NCols >::Type block (Index startRow, Index startCol)
 
const ConstFixedBlockXpr
< NRows, NCols >::Type 
block (Index startRow, Index startCol) const
 This is the const version of block<>(Index, Index). */.
 
FixedBlockXpr< NRows, NCols >::Type block (Index startRow, Index startCol, Index blockRows, Index blockCols)
 
const ConstFixedBlockXpr
< NRows, NCols >::Type 
block (Index startRow, Index startCol, Index blockRows, Index blockCols) const
 This is the const version of block<>(Index, Index, Index, Index).
 
FixedBlockXpr<...,...>::Type bottomLeftCorner (NRowsType cRows, NColsType cCols)
 
ConstFixedBlockXpr<...,...>::Type bottomLeftCorner (NRowsType cRows, NColsType cCols) const
 This is the const version of bottomLeftCorner(NRowsType, NColsType).
 
FixedBlockXpr< CRows, CCols >::Type bottomLeftCorner ()
 
const ConstFixedBlockXpr
< CRows, CCols >::Type 
bottomLeftCorner () const
 This is the const version of bottomLeftCorner<int, int>().
 
FixedBlockXpr< CRows, CCols >::Type bottomLeftCorner (Index cRows, Index cCols)
 
const ConstFixedBlockXpr
< CRows, CCols >::Type 
bottomLeftCorner (Index cRows, Index cCols) const
 This is the const version of bottomLeftCorner<int, int>(Index, Index).
 
FixedBlockXpr<...,...>::Type bottomRightCorner (NRowsType cRows, NColsType cCols)
 
const ConstFixedBlockXpr
<...,...>::Type 
bottomRightCorner (NRowsType cRows, NColsType cCols) const
 This is the const version of bottomRightCorner(NRowsType, NColsType).
 
FixedBlockXpr< CRows, CCols >::Type bottomRightCorner ()
 
const ConstFixedBlockXpr
< CRows, CCols >::Type 
bottomRightCorner () const
 This is the const version of bottomRightCorner<int, int>().
 
FixedBlockXpr< CRows, CCols >::Type bottomRightCorner (Index cRows, Index cCols)
 
const ConstFixedBlockXpr
< CRows, CCols >::Type 
bottomRightCorner (Index cRows, Index cCols) const
 This is the const version of bottomRightCorner<int, int>(Index, Index).
 
NRowsBlockXpr<...>::Type bottomRows (NRowsType n)
 
const ConstNRowsBlockXpr<...>::Type bottomRows (NRowsType n) const
 This is the const version of bottomRows(NRowsType).
 
NRowsBlockXpr< N >::Type bottomRows (Index n=N)
 
ConstNRowsBlockXpr< N >::Type bottomRows (Index n=N) const
 This is the const version of bottomRows<int>().
 
CastXpr< NewType >::Type cast () const
 
ColXpr col (Index i)
 
ConstColXpr col (Index i) const
 This is the const version of col().
 
ConstColwiseReturnType colwise () const
 
ConjugateReturnType conjugate () const
 
internal::conditional< Cond,
ConjugateReturnType, const
Homogeneous< MatrixType,
_Direction > & >::type 
conjugateIf () const
 
EvalReturnType eval () const
 
EIGEN_DEPRECATED const
Homogeneous< MatrixType,
_Direction > & 
flagged () const
 
const WithFormat< Homogeneous
< MatrixType, _Direction > > 
format (const IOFormat &fmt) const
 
FixedSegmentReturnType<...>::Type head (NType n)
 
const
ConstFixedSegmentReturnType
<...>::Type 
head (NType n) const
 This is the const version of head(NType).
 
FixedSegmentReturnType< N >::Type head (Index n=N)
 
ConstFixedSegmentReturnType< N >
::Type 
head (Index n=N) const
 This is the const version of head<int>().
 
const ImagReturnType imag () const
 
NonConstImagReturnType imag ()
 
EIGEN_CONSTEXPR Index innerSize () const
 
InnerVectorReturnType innerVector (Index outer)
 
const ConstInnerVectorReturnType innerVector (Index outer) const
 
InnerVectorsReturnType innerVectors (Index outerStart, Index outerSize)
 
const ConstInnerVectorsReturnType innerVectors (Index outerStart, Index outerSize) const
 
EIGEN_DEPRECATED Homogeneous
< MatrixType, _Direction > & 
lazyAssign (const DenseBase< OtherDerived > &other)
 
NColsBlockXpr<...>::Type leftCols (NColsType n)
 
const ConstNColsBlockXpr<...>::Type leftCols (NColsType n) const
 This is the const version of leftCols(NColsType).
 
NColsBlockXpr< N >::Type leftCols (Index n=N)
 
ConstNColsBlockXpr< N >::Type leftCols (Index n=N) const
 This is the const version of leftCols<int>().
 
NColsBlockXpr<...>::Type middleCols (Index startCol, NColsType numCols)
 
const ConstNColsBlockXpr<...>::Type middleCols (Index startCol, NColsType numCols) const
 This is the const version of middleCols(Index,NColsType).
 
NColsBlockXpr< N >::Type middleCols (Index startCol, Index n=N)
 
ConstNColsBlockXpr< N >::Type middleCols (Index startCol, Index n=N) const
 This is the const version of middleCols<int>().
 
NRowsBlockXpr<...>::Type middleRows (Index startRow, NRowsType n)
 
const ConstNRowsBlockXpr<...>::Type middleRows (Index startRow, NRowsType n) const
 This is the const version of middleRows(Index,NRowsType).
 
NRowsBlockXpr< N >::Type middleRows (Index startRow, Index n=N)
 
ConstNRowsBlockXpr< N >::Type middleRows (Index startRow, Index n=N) const
 This is the const version of middleRows<int>().
 
EIGEN_CONSTEXPR Index nonZeros () const
 
IndexedView_or_Block operator() (const RowIndices &rowIndices, const ColIndices &colIndices)
 
IndexedView_or_VectorBlock operator() (const Indices &indices)
 
const NegativeReturnType operator- () const
 
Homogeneous< MatrixType,
_Direction > & 
operator= (const DenseBase< OtherDerived > &other)
 
Homogeneous< MatrixType,
_Direction > & 
operator= (const DenseBase &other)
 
EIGEN_CONSTEXPR Index outerSize () const
 
RealReturnType real () const
 
NonConstRealReturnType real ()
 
const Replicate< Homogeneous
< MatrixType, _Direction >
, Dynamic, Dynamic > 
replicate (Index rowFactor, Index colFactor) const
 
Reshaped< Homogeneous
< MatrixType, _Direction >,...> 
reshaped (NRowsType nRows, NColsType nCols)
 
const Reshaped< const
Homogeneous< MatrixType,
_Direction >,...> 
reshaped (NRowsType nRows, NColsType nCols) const
 This is the const version of reshaped(NRowsType,NColsType).
 
Reshaped< Homogeneous
< MatrixType, _Direction >,...> 
reshaped ()
 
const Reshaped< const
Homogeneous< MatrixType,
_Direction >,...> 
reshaped () const
 This is the const version of reshaped().
 
void resize (Index newSize)
 
void resize (Index rows, Index cols)
 
ConstReverseReturnType reverse () const
 
NColsBlockXpr<...>::Type rightCols (NColsType n)
 
const ConstNColsBlockXpr<...>::Type rightCols (NColsType n) const
 This is the const version of rightCols(NColsType).
 
NColsBlockXpr< N >::Type rightCols (Index n=N)
 
ConstNColsBlockXpr< N >::Type rightCols (Index n=N) const
 This is the const version of rightCols<int>().
 
RowXpr row (Index i)
 
ConstRowXpr row (Index i) const
 This is the const version of row(). */.
 
ConstRowwiseReturnType rowwise () const
 
FixedSegmentReturnType<...>::Type segment (Index start, NType n)
 
const
ConstFixedSegmentReturnType
<...>::Type 
segment (Index start, NType n) const
 This is the const version of segment(Index,NType).
 
FixedSegmentReturnType< N >::Type segment (Index start, Index n=N)
 
ConstFixedSegmentReturnType< N >
::Type 
segment (Index start, Index n=N) const
 This is the const version of segment<int>(Index).
 
internal::conditional
< Direction==Vertical, ColXpr,
RowXpr >::type 
subVector (Index i)
 
internal::conditional
< Direction==Vertical,
ConstColXpr, ConstRowXpr >
::type 
subVector (Index i) const
 
EIGEN_CONSTEXPR Index subVectors () const
 
void swap (const DenseBase< OtherDerived > &other)
 
void swap (PlainObjectBase< OtherDerived > &other)
 
FixedSegmentReturnType<...>::Type tail (NType n)
 
const
ConstFixedSegmentReturnType
<...>::Type 
tail (NType n) const
 This is the const version of tail(Index).
 
FixedSegmentReturnType< N >::Type tail (Index n=N)
 
ConstFixedSegmentReturnType< N >
::Type 
tail (Index n=N) const
 This is the const version of tail<int>.
 
FixedBlockXpr<...,...>::Type topLeftCorner (NRowsType cRows, NColsType cCols)
 
const ConstFixedBlockXpr
<...,...>::Type 
topLeftCorner (NRowsType cRows, NColsType cCols) const
 This is the const version of topLeftCorner(Index, Index).
 
FixedBlockXpr< CRows, CCols >::Type topLeftCorner ()
 
const ConstFixedBlockXpr
< CRows, CCols >::Type 
topLeftCorner () const
 This is the const version of topLeftCorner<int, int>().
 
FixedBlockXpr< CRows, CCols >::Type topLeftCorner (Index cRows, Index cCols)
 
const ConstFixedBlockXpr
< CRows, CCols >::Type 
topLeftCorner (Index cRows, Index cCols) const
 This is the const version of topLeftCorner<int, int>(Index, Index).
 
FixedBlockXpr<...,...>::Type topRightCorner (NRowsType cRows, NColsType cCols)
 
const ConstFixedBlockXpr
<...,...>::Type 
topRightCorner (NRowsType cRows, NColsType cCols) const
 This is the const version of topRightCorner(NRowsType, NColsType).
 
FixedBlockXpr< CRows, CCols >::Type topRightCorner ()
 
const ConstFixedBlockXpr
< CRows, CCols >::Type 
topRightCorner () const
 This is the const version of topRightCorner<int, int>().
 
FixedBlockXpr< CRows, CCols >::Type topRightCorner (Index cRows, Index cCols)
 
const ConstFixedBlockXpr
< CRows, CCols >::Type 
topRightCorner (Index cRows, Index cCols) const
 This is the const version of topRightCorner<int, int>(Index, Index).
 
NRowsBlockXpr<...>::Type topRows (NRowsType n)
 
const ConstNRowsBlockXpr<...>::Type topRows (NRowsType n) const
 This is the const version of topRows(NRowsType).
 
NRowsBlockXpr< N >::Type topRows (Index n=N)
 
ConstNRowsBlockXpr< N >::Type topRows (Index n=N) const
 This is the const version of topRows<int>().
 
const CwiseUnaryOp
< CustomUnaryOp, const
Homogeneous< MatrixType,
_Direction > > 
unaryExpr (const CustomUnaryOp &func=CustomUnaryOp()) const
 Apply a unary operator coefficient-wise. More...
 
const CwiseUnaryView
< CustomViewOp, const
Homogeneous< MatrixType,
_Direction > > 
unaryViewExpr (const CustomViewOp &func=CustomViewOp()) const
 
CoeffReturnType value () const
 
- Protected Member Functions inherited from Eigen::DenseBase< Homogeneous< MatrixType, _Direction > >
 DenseBase ()
 

The documentation for this class was generated from the following file: