Eigen::Homogeneous< MatrixType, Direction_ > Class Template Reference

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

+ Inheritance diagram for Eigen::Homogeneous< MatrixType, Direction_ >:

Public Types

enum  { Direction }
 
typedef MatrixBase< HomogeneousBase
 
typedef MatrixType NestedExpression
 
- Public Types inherited from Eigen::MatrixBase< Homogeneous< MatrixType, Direction_ > >
enum  
 
enum  
 
typedef Diagonal< const Homogeneous< MatrixType, Direction_ > > ConstDiagonalReturnType
 
typedef Block< const Homogeneous< MatrixType, Direction_ >, internal::traits< Homogeneous< MatrixType, Direction_ > >::ColsAtCompileTime==1 ? SizeMinusOne :1, internal::traits< Homogeneous< MatrixType, Direction_ > >::ColsAtCompileTime==1 ? 1 :SizeMinusOneConstStartMinusOne
 
typedef Diagonal< Homogeneous< MatrixType, Direction_ > > DiagonalReturnType
 
typedef Homogeneous< Homogeneous< MatrixType, Direction_ >, HomogeneousReturnTypeDirectionHomogeneousReturnType
 
typedef Base::PlainObject PlainObject
 
typedef internal::stem_function< Scalar >::type StemFunction
 
- Public Types inherited from Eigen::DenseBase< Homogeneous< MatrixType, Direction_ > >
enum  
 
enum  
 
typedef DenseCoeffsBase< Homogeneous< MatrixType, Direction_ >, internal::accessors_level< Homogeneous< MatrixType, Direction_ > >::valueBase
 
typedef Base::CoeffReturnType CoeffReturnType
 
typedef VectorwiseOp< Homogeneous< MatrixType, Direction_ >, Vertical > ColwiseReturnType
 
typedef random_access_iterator_type const_iterator
 
typedef const VectorwiseOp< const Homogeneous< MatrixType, Direction_ >, Vertical > ConstColwiseReturnType
 
typedef const Reverse< const Homogeneous< MatrixType, Direction_ >, BothDirections > ConstReverseReturnType
 
typedef const VectorwiseOp< const Homogeneous< MatrixType, Direction_ >, Horizontal > ConstRowwiseReturnType
 
typedef Transpose< const Homogeneous< MatrixType, Direction_ > > ConstTransposeReturnType
 
typedef internal::add_const_on_value_type_t< typename internal::eval< Homogeneous< MatrixType, Direction_ > >::type > EvalReturnType
 
typedef random_access_iterator_type iterator
 
typedef internal::find_best_packet< Scalar, SizeAtCompileTime >::type PacketScalar
 
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_ > >::MaxColsAtCompileTimePlainArray
 
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_ > >::MaxColsAtCompileTimePlainMatrix
 
typedef std::conditional_t< internal::is_same< typename internal::traits< Homogeneous< MatrixType, Direction_ > >::XprKind, MatrixXpr >::value, PlainMatrix, PlainArrayPlainObject
 The plain matrix or array type corresponding to this expression. More...
 
typedef CwiseNullaryOp< internal::scalar_random_op< Scalar >, PlainObjectRandomReturnType
 
typedef NumTraits< Scalar >::Real RealScalar
 
typedef Reverse< Homogeneous< MatrixType, Direction_ >, BothDirections > ReverseReturnType
 
typedef VectorwiseOp< Homogeneous< MatrixType, Direction_ >, Horizontal > RowwiseReturnType
 
typedef internal::traits< Homogeneous< MatrixType, Direction_ > >::Scalar Scalar
 
typedef internal::traits< Homogeneous< MatrixType, Direction_ > >::StorageIndex StorageIndex
 The type used to store indices. More...
 
typedef internal::traits< Homogeneous< MatrixType, Direction_ > >::StorageKind StorageKind
 
typedef Transpose< Homogeneous< MatrixType, Direction_ > > TransposeReturnType
 
typedef Scalar value_type
 

Public Member Functions

EIGEN_CONSTEXPR Index cols () const EIGEN_NOEXCEPT
 
 Homogeneous (const MatrixType &matrix)
 
const NestedExpressionnestedExpression () const
 
template<typename Rhs >
const Product< Homogeneous, Rhs > operator* (const MatrixBase< Rhs > &rhs) const
 
template<typename Func >
internal::result_of< Func(Scalar, Scalar)>::type redux (const Func &func) const
 
EIGEN_CONSTEXPR Index rows () const EIGEN_NOEXCEPT
 
- 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...
 
const AdjointReturnType adjoint () const
 
void adjointInPlace ()
 
void applyHouseholderOnTheLeft (const EssentialPart &essential, const Scalar &tau, Scalar *workspace)
 
void applyHouseholderOnTheRight (const EssentialPart &essential, const Scalar &tau, Scalar *workspace)
 
void applyOnTheLeft (const EigenBase< OtherDerived > &other)
 
void applyOnTheLeft (Index p, Index q, const JacobiRotation< OtherScalar > &j)
 
void applyOnTheRight (const EigenBase< OtherDerived > &other)
 
void applyOnTheRight (Index p, Index q, const JacobiRotation< OtherScalar > &j)
 
ArrayWrapper< Homogeneous< MatrixType, Direction_ > > array ()
 
const ArrayWrapper< const Homogeneous< MatrixType, Direction_ > > array () const
 
const DiagonalWrapper< const Homogeneous< MatrixType, Direction_ > > asDiagonal () 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 PermutationWrapper< const Homogeneous< MatrixType, Direction_ > > asPermutation () const
 
const SkewSymmetricWrapper< const Homogeneous< MatrixType, Direction_ > > asSkewSymmetric () const
 
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...
 
BDCSVD< PlainObject, Options > bdcSvd () const
 
BDCSVD< typename MatrixBase< Homogeneous< MatrixType, Direction_ > >::PlainObject, Options > bdcSvd () const
 
EIGEN_DEPRECATED BDCSVD< PlainObject, Options > bdcSvd (unsigned int computationOptions) const
 
BDCSVD< typename MatrixBase< Homogeneous< MatrixType, Direction_ > >::PlainObject, Options > bdcSvd (unsigned int computationOptions) const
 
RealScalar blueNorm () const
 
Matrix< Scalar, 3, 1 > canonicalEulerAngles (Index a0, Index a1, Index a2) const
 
const ColPivHouseholderQR< PlainObject, PermutationIndex > colPivHouseholderQr () const
 
const ColPivHouseholderQR< typename MatrixBase< Homogeneous< MatrixType, Direction_ > >::PlainObject, PermutationIndexType > colPivHouseholderQr () const
 
const CompleteOrthogonalDecomposition< PlainObject, PermutationIndex > completeOrthogonalDecomposition () const
 
const CompleteOrthogonalDecomposition< typename MatrixBase< Homogeneous< MatrixType, Direction_ > >::PlainObject, PermutationIndex > completeOrthogonalDecomposition () const
 
void computeInverseAndDetWithCheck (ResultType &inverse, typename ResultType::Scalar &determinant, bool &invertible, const RealScalar &absDeterminantThreshold=NumTraits< Scalar >::dummy_precision()) const
 
void computeInverseWithCheck (ResultType &inverse, bool &invertible, const RealScalar &absDeterminantThreshold=NumTraits< Scalar >::dummy_precision()) 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...
 
internal::cross_impl< Homogeneous< MatrixType, Direction_ >, OtherDerived >::return_type cross (const MatrixBase< OtherDerived > &other) const
 
std::conditional_t< SizeAtCompileTime==2, Scalar, PlainObjectcross (const MatrixBase< OtherDerived > &other) const
 
PlainObject cross3 (const MatrixBase< OtherDerived > &other) const
 
const SparseMatrixBase< OtherDerived >::template CwiseProductDenseReturnType< Homogeneous< MatrixType, Direction_ > >::Type cwiseProduct (const SparseMatrixBase< OtherDerived > &other) const
 
Scalar determinant () const
 
DiagonalReturnType diagonal ()
 
Diagonal< Homogeneous< MatrixType, Direction_ >, Indexdiagonal ()
 
const ConstDiagonalReturnType diagonal () const
 
const Diagonal< const Homogeneous< MatrixType, Direction_ >, Indexdiagonal () const
 
Diagonal< Homogeneous< MatrixType, Direction_ >, DynamicIndex > diagonal (Index index)
 
const Diagonal< const Homogeneous< MatrixType, Direction_ >, DynamicIndex > diagonal (Index index) const
 
Index diagonalSize () const
 
ScalarBinaryOpTraits< typename internal::traits< Homogeneous< MatrixType, Direction_ > >::Scalar, typename internal::traits< OtherDerived >::Scalar >::ReturnType dot (const MatrixBase< OtherDerived > &other) const
 
typedef EIGEN_EXPR_BINARYOP_SCALAR_RETURN_TYPE (ConstStartMinusOne, Scalar, quotient) HNormalizedReturnType
 
EigenvaluesReturnType eigenvalues () const
 Computes the eigenvalues of a matrix. More...
 
EIGEN_DEPRECATED Matrix< Scalar, 3, 1 > eulerAngles (Index a0, Index a1, Index a2) 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...
 
Homogeneous< MatrixType, Direction_ > & forceAlignedAccess ()
 
const Homogeneous< MatrixType, Direction_ > & forceAlignedAccess () const
 
std::conditional_t< Enable, ForceAlignedAccess< Homogeneous< MatrixType, Direction_ > >, Homogeneous< MatrixType, Direction_ > & > forceAlignedAccessIf ()
 
Homogeneous< MatrixType, Direction_ > & forceAlignedAccessIf ()
 
add_const_on_value_type_t< std::conditional_t< Enable, ForceAlignedAccess< Homogeneous< MatrixType, Direction_ > >, Homogeneous< MatrixType, Direction_ > & > > forceAlignedAccessIf () const
 
const Homogeneous< MatrixType, Direction_ > & forceAlignedAccessIf () const
 
const FullPivHouseholderQR< PlainObject, PermutationIndex > fullPivHouseholderQr () const
 
const FullPivHouseholderQR< typename MatrixBase< Homogeneous< MatrixType, Direction_ > >::PlainObject, PermutationIndex > fullPivHouseholderQr () const
 
const FullPivLU< PlainObject, PermutationIndex > fullPivLu () const
 
const FullPivLU< typename MatrixBase< Homogeneous< MatrixType, Direction_ > >::PlainObject, PermutationIndex > fullPivLu () const
 
const HNormalizedReturnType hnormalized () const
 homogeneous normalization More...
 
HomogeneousReturnType homogeneous () const
 
const HouseholderQR< PlainObjecthouseholderQr () const
 
RealScalar hypotNorm () const
 
const Inverse< Homogeneous< MatrixType, Direction_ > > inverse () const
 
bool isDiagonal (const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
bool isIdentity (const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
bool isLowerTriangular (const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
bool isOrthogonal (const MatrixBase< OtherDerived > &other, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
bool isSkewSymmetric (const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
bool isUnitary (const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
bool isUpperTriangular (const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
JacobiSVD< PlainObject, Options > jacobiSvd () const
 
JacobiSVD< typename MatrixBase< Homogeneous< MatrixType, Direction_ > >::PlainObject, Options > jacobiSvd () const
 
EIGEN_DEPRECATED JacobiSVD< PlainObject, Options > jacobiSvd (unsigned int computationOptions) const
 
JacobiSVD< typename MatrixBase< Homogeneous< MatrixType, Direction_ > >::PlainObject, Options > jacobiSvd (unsigned int computationOptions) const
 
const Product< Homogeneous< MatrixType, Direction_ >, OtherDerived, LazyProduct > lazyProduct (const MatrixBase< OtherDerived > &other) const
 
const LDLT< PlainObjectldlt () const
 
const LLT< PlainObjectllt () const
 
const MatrixLogarithmReturnValue< Homogeneous< MatrixType, Direction_ > > log () const
 This function requires the unsupported MatrixFunctions module. To compute the coefficient-wise logarithm use ArrayBase::log . More...
 
RealScalar lpNorm () const
 
const PartialPivLU< PlainObject, PermutationIndex > lu () const
 
const PartialPivLU< typename MatrixBase< Homogeneous< MatrixType, Direction_ > >::PlainObject, PermutationIndex > lu () const
 
void makeHouseholder (EssentialPart &essential, Scalar &tau, RealScalar &beta) const
 
void makeHouseholderInPlace (Scalar &tau, RealScalar &beta)
 
MatrixBase< Homogeneous< MatrixType, Direction_ > > & matrix ()
 
const MatrixBase< Homogeneous< MatrixType, Direction_ > > & matrix () const
 
const MatrixFunctionReturnValue< Homogeneous< MatrixType, Direction_ > > matrixFunction (StemFunction f) const
 Helper function for the unsupported MatrixFunctions module. More...
 
NoAlias< Homogeneous< MatrixType, Direction_ >, Eigen::MatrixBasenoalias ()
 
RealScalar norm () const
 
void normalize ()
 
const PlainObject normalized () const
 
bool operator!= (const MatrixBase< OtherDerived > &other) const
 
const Product< Homogeneous< MatrixType, Direction_ >, DiagonalDerived, LazyProduct > operator* (const DiagonalBase< DiagonalDerived > &diagonal) const
 
const Product< Homogeneous< MatrixType, Direction_ >, OtherDerived > operator* (const MatrixBase< OtherDerived > &other) const
 
const Product< Homogeneous< MatrixType, Direction_ >, SkewDerived, LazyProduct > operator* (const SkewSymmetricBase< SkewDerived > &skew) const
 
Homogeneous< MatrixType, Direction_ > & operator*= (const EigenBase< OtherDerived > &other)
 
Homogeneous< MatrixType, Direction_ > & operator+= (const MatrixBase< OtherDerived > &other)
 
Homogeneous< MatrixType, Direction_ > & operator-= (const MatrixBase< OtherDerived > &other)
 
Homogeneous< MatrixType, Direction_ > & operator= (const DenseBase< OtherDerived > &other)
 
Homogeneous< MatrixType, Direction_ > & operator= (const EigenBase< OtherDerived > &other)
 
Homogeneous< MatrixType, Direction_ > & operator= (const MatrixBase &other)
 
Homogeneous< MatrixType, Direction_ > & operator= (const ReturnByValue< OtherDerived > &other)
 
bool operator== (const MatrixBase< OtherDerived > &other) const
 
RealScalar operatorNorm () const
 Computes the L2 operator norm. More...
 
const PartialPivLU< PlainObject, PermutationIndex > partialPivLu () const
 
const PartialPivLU< typename MatrixBase< Homogeneous< MatrixType, Direction_ > >::PlainObject, PermutationIndex > partialPivLu () 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...
 
SelfAdjointViewReturnType< UpLo >::Type selfadjointView ()
 
MatrixBase< Homogeneous< MatrixType, Direction_ > >::template SelfAdjointViewReturnType< UpLo >::Type selfadjointView ()
 
ConstSelfAdjointViewReturnType< UpLo >::Type selfadjointView () const
 
MatrixBase< Homogeneous< MatrixType, Direction_ > >::template ConstSelfAdjointViewReturnType< UpLo >::Type selfadjointView () const
 
Homogeneous< MatrixType, Direction_ > & setIdentity ()
 
Homogeneous< MatrixType, Direction_ > & setIdentity (Index rows, Index cols)
 Resizes to the given size, and writes the identity expression (not necessarily square) into *this. More...
 
Homogeneous< MatrixType, Direction_ > & setUnit (Index i)
 Set the coefficients of *this to the i-th unit (basis) vector. More...
 
Homogeneous< MatrixType, Direction_ > & setUnit (Index newSize, Index i)
 Resizes to the given newSize, and writes the i-th unit (basis) vector into *this. 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 SparseView< Homogeneous< MatrixType, Direction_ > > sparseView (const Scalar &m_reference=Scalar(0), const typename NumTraits< Scalar >::Real &m_epsilon=NumTraits< Scalar >::dummy_precision()) const
 
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...
 
RealScalar squaredNorm () const
 
RealScalar stableNorm () const
 
void stableNormalize ()
 
const PlainObject stableNormalized () const
 
Scalar trace () const
 
TriangularViewReturnType< Mode >::Type triangularView ()
 
MatrixBase< Homogeneous< MatrixType, Direction_ > >::template TriangularViewReturnType< Mode >::Type triangularView ()
 
ConstTriangularViewReturnType< Mode >::Type triangularView () const
 
MatrixBase< Homogeneous< MatrixType, Direction_ > >::template ConstTriangularViewReturnType< Mode >::Type triangularView () const
 
PlainObject unitOrthogonal (void) const
 
- Public Member Functions inherited from Eigen::DenseBase< Homogeneous< MatrixType, Direction_ > >
bool all () const
 
bool allFinite () const
 
bool any () const
 
iterator begin ()
 
const_iterator begin () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
ColwiseReturnType colwise ()
 
ConstColwiseReturnType colwise () const
 
Index count () const
 
iterator end ()
 
const_iterator end () const
 
EvalReturnType eval () const
 
void evalTo (Dest &) const
 
void fill (const Scalar &value)
 
EIGEN_DEPRECATED const Homogeneous< MatrixType, Direction_ > & flagged () const
 
ForceAlignedAccess< Homogeneous< MatrixType, Direction_ > > forceAlignedAccess ()
 
const ForceAlignedAccess< Homogeneous< MatrixType, Direction_ > > forceAlignedAccess () const
 
std::conditional_t< Enable, ForceAlignedAccess< Homogeneous< MatrixType, Direction_ > >, Homogeneous< MatrixType, Direction_ > & > forceAlignedAccessIf ()
 
const std::conditional_t< Enable, ForceAlignedAccess< Homogeneous< MatrixType, Direction_ > >, Homogeneous< MatrixType, Direction_ > & > forceAlignedAccessIf () const
 
const WithFormat< Homogeneous< MatrixType, Direction_ > > format (const IOFormat &fmt) const
 
bool hasNaN () const
 
EIGEN_CONSTEXPR Index innerSize () const
 
bool isApprox (const DenseBase< OtherDerived > &other, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
bool isApproxToConstant (const Scalar &value, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
bool isConstant (const Scalar &value, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
bool isMuchSmallerThan (const DenseBase< OtherDerived > &other, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
bool isMuchSmallerThan (const RealScalar &other, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
bool isMuchSmallerThan (const typename NumTraits< Scalar >::Real &other, const RealScalar &prec) const
 
bool isOnes (const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
bool isZero (const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
Homogeneous< MatrixType, Direction_ > & lazyAssign (const DenseBase< OtherDerived > &other)
 
EIGEN_DEPRECATED Homogeneous< MatrixType, Direction_ > & lazyAssign (const DenseBase< OtherDerived > &other)
 
RealScalar lpNorm () const
 
internal::traits< Homogeneous< MatrixType, Direction_ > >::Scalar maxCoeff () const
 
internal::traits< Homogeneous< MatrixType, Direction_ > >::Scalar maxCoeff () const
 
internal::traits< Homogeneous< MatrixType, Direction_ > >::Scalar maxCoeff (IndexType *index) const
 
internal::traits< Homogeneous< MatrixType, Direction_ > >::Scalar maxCoeff (IndexType *index) const
 
internal::traits< Homogeneous< MatrixType, Direction_ > >::Scalar maxCoeff (IndexType *row, IndexType *col) const
 
internal::traits< Homogeneous< MatrixType, Direction_ > >::Scalar maxCoeff (IndexType *row, IndexType *col) const
 
Scalar mean () const
 
internal::traits< Homogeneous< MatrixType, Direction_ > >::Scalar minCoeff () const
 
internal::traits< Homogeneous< MatrixType, Direction_ > >::Scalar minCoeff () const
 
internal::traits< Homogeneous< MatrixType, Direction_ > >::Scalar minCoeff (IndexType *index) const
 
internal::traits< Homogeneous< MatrixType, Direction_ > >::Scalar minCoeff (IndexType *index) const
 
internal::traits< Homogeneous< MatrixType, Direction_ > >::Scalar minCoeff (IndexType *row, IndexType *col) const
 
internal::traits< Homogeneous< MatrixType, Direction_ > >::Scalar minCoeff (IndexType *row, IndexType *col) const
 
const NestByValue< Homogeneous< MatrixType, Direction_ > > nestByValue () const
 
Homogeneous< MatrixType, Direction_ > & operator*= (const Scalar &other)
 
Homogeneous< MatrixType, Direction_ > & operator+= (const EigenBase< OtherDerived > &other)
 
Homogeneous< MatrixType, Direction_ > & operator-= (const EigenBase< OtherDerived > &other)
 
Homogeneous< MatrixType, Direction_ > & operator/= (const Scalar &other)
 
CommaInitializer< Homogeneous< MatrixType, Direction_ > > operator<< (const DenseBase< OtherDerived > &other)
 
CommaInitializer< Homogeneous< MatrixType, Direction_ > > operator<< (const Scalar &s)
 
Homogeneous< MatrixType, Direction_ > & operator= (const DenseBase &other)
 
Homogeneous< MatrixType, Direction_ > & operator= (const DenseBase< OtherDerived > &other)
 
Homogeneous< MatrixType, Direction_ > & operator= (const EigenBase< OtherDerived > &other)
 Copies the generic expression other into *this. More...
 
Homogeneous< MatrixType, Direction_ > & operator= (const ReturnByValue< OtherDerived > &func)
 
EIGEN_CONSTEXPR Index outerSize () const
 
Scalar prod () const
 
Scalar redux (const BinaryOp &func) const
 
internal::traits< Homogeneous< MatrixType, Direction_ > >::Scalar redux (const Func &func) const
 
const Replicate< Homogeneous< MatrixType, Direction_ >, RowFactor, ColFactor > replicate () const
 
const Replicate< Homogeneous< MatrixType, Direction_ >, Dynamic, Dynamic > replicate (Index rowFactor, Index colFactor) const
 
void resize (Index newSize)
 
void resize (Index rows, Index cols)
 
ReverseReturnType reverse ()
 
ConstReverseReturnType reverse () const
 
void reverseInPlace ()
 
RowwiseReturnType rowwise ()
 
ConstRowwiseReturnType rowwise () const
 
CwiseTernaryOp< internal::scalar_boolean_select_op< typename DenseBase< ThenDerived >::Scalar, typename DenseBase< ElseDerived >::Scalar, Scalar >, ThenDerived, ElseDerived, Homogeneous< MatrixType, Direction_ > > select (const DenseBase< ThenDerived > &thenMatrix, const DenseBase< ElseDerived > &elseMatrix) const
 
CwiseTernaryOp< internal::scalar_boolean_select_op< typename DenseBase< ThenDerived >::Scalar, typename DenseBase< ElseDerived >::Scalar, typename DenseBase< Homogeneous< MatrixType, Direction_ > >::Scalar >, ThenDerived, ElseDerived, Homogeneous< MatrixType, Direction_ > > select (const DenseBase< ThenDerived > &thenMatrix, const DenseBase< ElseDerived > &elseMatrix) const
 
CwiseTernaryOp< internal::scalar_boolean_select_op< typename DenseBase< ThenDerived >::Scalar, typename DenseBase< ThenDerived >::Scalar, Scalar >, ThenDerived, typename DenseBase< ThenDerived >::ConstantReturnType, Homogeneous< MatrixType, Direction_ > > select (const DenseBase< ThenDerived > &thenMatrix, const typename DenseBase< ThenDerived >::Scalar &elseScalar) const
 
CwiseTernaryOp< internal::scalar_boolean_select_op< typename DenseBase< ThenDerived >::Scalar, typename DenseBase< ThenDerived >::Scalar, typename DenseBase< Homogeneous< MatrixType, Direction_ > >::Scalar >, ThenDerived, typename DenseBase< ThenDerived >::ConstantReturnType, Homogeneous< MatrixType, Direction_ > > select (const DenseBase< ThenDerived > &thenMatrix, const typename DenseBase< ThenDerived >::Scalar &elseScalar) const
 
CwiseTernaryOp< internal::scalar_boolean_select_op< typename DenseBase< ElseDerived >::Scalar, typename DenseBase< ElseDerived >::Scalar, Scalar >, typename DenseBase< ElseDerived >::ConstantReturnType, ElseDerived, Homogeneous< MatrixType, Direction_ > > select (const typename DenseBase< ElseDerived >::Scalar &thenScalar, const DenseBase< ElseDerived > &elseMatrix) const
 
CwiseTernaryOp< internal::scalar_boolean_select_op< typename DenseBase< ElseDerived >::Scalar, typename DenseBase< ElseDerived >::Scalar, typename DenseBase< Homogeneous< MatrixType, Direction_ > >::Scalar >, typename DenseBase< ElseDerived >::ConstantReturnType, ElseDerived, Homogeneous< MatrixType, Direction_ > > select (const typename DenseBase< ElseDerived >::Scalar &thenScalar, const DenseBase< ElseDerived > &elseMatrix) const
 
Homogeneous< MatrixType, Direction_ > & setConstant (const Scalar &value)
 
Homogeneous< MatrixType, Direction_ > & setEqualSpaced (const Scalar &low, const Scalar &step)
 
Homogeneous< MatrixType, Direction_ > & setEqualSpaced (Index size, const Scalar &low, const Scalar &step)
 
Homogeneous< MatrixType, Direction_ > & setLinSpaced (const Scalar &low, const Scalar &high)
 Sets a linearly spaced vector. More...
 
Homogeneous< MatrixType, Direction_ > & setLinSpaced (Index size, const Scalar &low, const Scalar &high)
 Sets a linearly spaced vector. More...
 
Homogeneous< MatrixType, Direction_ > & setOnes ()
 
Homogeneous< MatrixType, Direction_ > & setRandom ()
 
Homogeneous< MatrixType, Direction_ > & setZero ()
 
Scalar sum () const
 
void swap (const DenseBase< OtherDerived > &other)
 
void swap (PlainObjectBase< OtherDerived > &other)
 
Scalar trace () const
 
TransposeReturnType transpose ()
 
const ConstTransposeReturnType transpose () const
 
void transposeInPlace ()
 
CoeffReturnType value () const
 
void visit (Visitor &func) const
 

Protected Attributes

MatrixType::Nested m_matrix
 

Additional Inherited Members

- Static Public Member Functions inherited from Eigen::MatrixBase< Homogeneous< MatrixType, Direction_ > >
static const IdentityReturnType Identity ()
 
static const IdentityReturnType Identity (Index rows, Index cols)
 
static const BasisReturnType Unit (Index i)
 
static const BasisReturnType Unit (Index size, Index i)
 
static const BasisReturnType UnitW ()
 
static const BasisReturnType UnitX ()
 
static const BasisReturnType UnitY ()
 
static const BasisReturnType UnitZ ()
 
- Static Public Member Functions inherited from Eigen::DenseBase< Homogeneous< MatrixType, Direction_ > >
static const ConstantReturnType Constant (const Scalar &value)
 
static const ConstantReturnType Constant (Index rows, Index cols, const Scalar &value)
 
static const ConstantReturnType Constant (Index size, const Scalar &value)
 
static const RandomAccessEqualSpacedReturnType EqualSpaced (const Scalar &low, const Scalar &step)
 
static const RandomAccessEqualSpacedReturnType EqualSpaced (Index size, const Scalar &low, const Scalar &step)
 
static const RandomAccessLinSpacedReturnType LinSpaced (const Scalar &low, const Scalar &high)
 
static const RandomAccessLinSpacedReturnType LinSpaced (Index size, const Scalar &low, const Scalar &high)
 Sets a linearly spaced vector. More...
 
static EIGEN_DEPRECATED const RandomAccessLinSpacedReturnType LinSpaced (Sequential_t, const Scalar &low, const Scalar &high)
 
static EIGEN_DEPRECATED const RandomAccessLinSpacedReturnType LinSpaced (Sequential_t, Index size, const Scalar &low, const Scalar &high)
 
static const CwiseNullaryOp< CustomNullaryOp, PlainObjectNullaryExpr (const CustomNullaryOp &func)
 
static const CwiseNullaryOp< CustomNullaryOp, PlainObjectNullaryExpr (Index rows, Index cols, const CustomNullaryOp &func)
 
static const CwiseNullaryOp< CustomNullaryOp, PlainObjectNullaryExpr (Index size, const CustomNullaryOp &func)
 
static const ConstantReturnType Ones ()
 
static const ConstantReturnType Ones (Index rows, Index cols)
 
static const ConstantReturnType Ones (Index size)
 
static const RandomReturnType Random ()
 
static const RandomReturnType Random (Index rows, Index cols)
 
static const RandomReturnType Random (Index size)
 
static const ConstantReturnType Zero ()
 
static const ConstantReturnType Zero (Index rows, Index cols)
 
static const ConstantReturnType Zero (Index size)
 
- Protected Member Functions inherited from Eigen::MatrixBase< Homogeneous< MatrixType, Direction_ > >
Homogeneous< MatrixType, Direction_ > & operator+= (const ArrayBase< OtherDerived > &)
 
Homogeneous< MatrixType, Direction_ > & operator-= (const ArrayBase< OtherDerived > &)
 
- Protected Member Functions inherited from Eigen::DenseBase< Homogeneous< MatrixType, Direction_ > >
constexpr DenseBase ()
 

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.

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()

Definition at line 62 of file Homogeneous.h.

Member Typedef Documentation

◆ Base

template<typename MatrixType , int Direction_>
typedef MatrixBase<Homogeneous> Eigen::Homogeneous< MatrixType, Direction_ >::Base

Definition at line 70 of file Homogeneous.h.

◆ NestedExpression

template<typename MatrixType , int Direction_>
typedef MatrixType Eigen::Homogeneous< MatrixType, Direction_ >::NestedExpression

Definition at line 67 of file Homogeneous.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename MatrixType , int Direction_>
anonymous enum
Enumerator
Direction 

Definition at line 68 of file Homogeneous.h.

68 { Direction = Direction_ };

Constructor & Destructor Documentation

◆ Homogeneous()

template<typename MatrixType , int Direction_>
Eigen::Homogeneous< MatrixType, Direction_ >::Homogeneous ( const MatrixType matrix)
inlineexplicit

Definition at line 73 of file Homogeneous.h.

74  : m_matrix(matrix)
75  {}
MatrixType::Nested m_matrix
Definition: Homogeneous.h:116
MatrixBase< Homogeneous< MatrixType, Direction_ > > & matrix()
Definition: MatrixBase.h:319

Member Function Documentation

◆ cols()

template<typename MatrixType , int Direction_>
EIGEN_CONSTEXPR Index Eigen::Homogeneous< MatrixType, Direction_ >::cols ( void  ) const
inline

Definition at line 80 of file Homogeneous.h.

80 { return m_matrix.cols() + (int(Direction)==Horizontal ? 1 : 0); }
@ Horizontal
Definition: Constants.h:269

◆ nestedExpression()

template<typename MatrixType , int Direction_>
const NestedExpression& Eigen::Homogeneous< MatrixType, Direction_ >::nestedExpression ( ) const
inline

Definition at line 82 of file Homogeneous.h.

82 { return m_matrix; }

◆ operator*()

template<typename MatrixType , int Direction_>
template<typename Rhs >
const Product<Homogeneous,Rhs> Eigen::Homogeneous< MatrixType, Direction_ >::operator* ( const MatrixBase< Rhs > &  rhs) const
inline

Definition at line 86 of file Homogeneous.h.

87  {
89  return Product<Homogeneous,Rhs>(*this,rhs.derived());
90  }
#define eigen_assert(x)
Definition: Macros.h:902

◆ redux()

template<typename MatrixType , int Direction_>
template<typename Func >
internal::result_of<Func(Scalar,Scalar)>::type Eigen::Homogeneous< MatrixType, Direction_ >::redux ( const Func &  func) const
inline

Definition at line 110 of file Homogeneous.h.

111  {
112  return func(m_matrix.redux(func), Scalar(1));
113  }
internal::traits< Homogeneous< MatrixType, Direction_ > >::Scalar Scalar
Definition: DenseBase.h:61

◆ rows()

template<typename MatrixType , int Direction_>
EIGEN_CONSTEXPR Index Eigen::Homogeneous< MatrixType, Direction_ >::rows ( void  ) const
inline

Definition at line 78 of file Homogeneous.h.

78 { return m_matrix.rows() + (int(Direction)==Vertical ? 1 : 0); }
@ Vertical
Definition: Constants.h:266

Member Data Documentation

◆ m_matrix

template<typename MatrixType , int Direction_>
MatrixType::Nested Eigen::Homogeneous< MatrixType, Direction_ >::m_matrix
protected

Definition at line 116 of file Homogeneous.h.


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