Generic expression of a partially reduxed matrix. More...
Public Types | |
typedef ei_traits < PartialReduxExpr > ::_MatrixTypeNested | _MatrixTypeNested |
typedef ei_traits < PartialReduxExpr > ::MatrixTypeNested | MatrixTypeNested |
![]() | |
enum |
Public Member Functions | |
const Scalar | coeff (int i, int j) const |
int | cols () const |
PartialReduxExpr (const MatrixType &mat, const MemberOp &func=MemberOp()) | |
int | rows () const |
![]() | |
const AdjointReturnType | adjoint () const |
bool | all (void) const |
bool | any (void) const |
const DiagonalMatrix < PartialReduxExpr< MatrixType, MemberOp, Direction > > | asDiagonal () const |
const CwiseBinaryOp < CustomBinaryOp, PartialReduxExpr< MatrixType, MemberOp, Direction > , OtherDerived > | binaryExpr (const MatrixBase< OtherDerived > &other, const CustomBinaryOp &func=CustomBinaryOp()) const |
BlockReturnType < PartialReduxExpr< MatrixType, MemberOp, Direction > >::Type | block (int startRow, int startCol, int blockRows, int blockCols) |
const BlockReturnType < PartialReduxExpr< MatrixType, MemberOp, Direction > >::Type | block (int startRow, int startCol, int blockRows, int blockCols) const |
BlockReturnType < PartialReduxExpr< MatrixType, MemberOp, Direction > , BlockRows, BlockCols >::Type | block (int startRow, int startCol) |
const BlockReturnType < PartialReduxExpr< MatrixType, MemberOp, Direction > , BlockRows, BlockCols >::Type | block (int startRow, int startCol) const |
const CwiseUnaryOp < ei_scalar_cast_op< typename ei_traits< PartialReduxExpr < MatrixType, MemberOp, Direction > >::Scalar, NewType > , PartialReduxExpr< MatrixType, MemberOp, Direction > > | cast () const |
const Scalar | coeff (int row, int col) const |
const Scalar | coeff (int index) const |
Scalar & | coeffRef (int row, int col) |
Scalar & | coeffRef (int index) |
ColXpr | col (int i) |
const ColXpr | col (int i) const |
int | cols () const |
const PartialRedux < PartialReduxExpr< MatrixType, MemberOp, Direction > , Vertical > | colwise () const |
void | computeInverse (MatrixBase< ResultType > *result) const |
ConjugateReturnType | conjugate () const |
BlockReturnType < PartialReduxExpr< MatrixType, MemberOp, Direction > >::Type | corner (CornerType type, int cRows, int cCols) |
const BlockReturnType < PartialReduxExpr< MatrixType, MemberOp, Direction > >::Type | corner (CornerType type, int cRows, int cCols) const |
BlockReturnType < PartialReduxExpr< MatrixType, MemberOp, Direction >, CRows, CCols >::Type | corner (CornerType type) |
const BlockReturnType < PartialReduxExpr< MatrixType, MemberOp, Direction >, CRows, CCols >::Type | corner (CornerType type) const |
int | count () const |
PlainMatrixType | cross (const MatrixBase< OtherDerived > &other) const |
const Cwise< PartialReduxExpr < MatrixType, MemberOp, Direction > > | cwise () const |
Cwise< PartialReduxExpr < MatrixType, MemberOp, Direction > > | cwise () |
Scalar | determinant () const |
DiagonalCoeffs < PartialReduxExpr< MatrixType, MemberOp, Direction > > | diagonal () |
const DiagonalCoeffs < PartialReduxExpr< MatrixType, MemberOp, Direction > > | diagonal () const |
Scalar | dot (const MatrixBase< OtherDerived > &other) const |
EigenvaluesReturnType | eigenvalues () const |
BlockReturnType < PartialReduxExpr< MatrixType, MemberOp, Direction >, Dynamic > ::SubVectorType | end (int size) |
const BlockReturnType < PartialReduxExpr< MatrixType, MemberOp, Direction >, Dynamic > ::SubVectorType | end (int size) const |
BlockReturnType < PartialReduxExpr< MatrixType, MemberOp, Direction >, Size > ::SubVectorType | end () |
const BlockReturnType < PartialReduxExpr< MatrixType, MemberOp, Direction >, Size > ::SubVectorType | end () const |
Matrix< Scalar, 3, 1 > | eulerAngles (int a0, int a1, int a2) const |
const ei_eval < PartialReduxExpr< MatrixType, MemberOp, Direction > >::type | eval () const |
void | fill (const Scalar &value) |
const WithFormat < PartialReduxExpr< MatrixType, MemberOp, Direction > > | format (const IOFormat &fmt) const |
const ImagReturnType | imag () const |
int | innerSize () const |
const PlainMatrixType | inverse () const |
bool | isApprox (const MatrixBase< OtherDerived > &other, RealScalar prec=precision< Scalar >()) const |
bool | isApproxToConstant (const Scalar &value, RealScalar prec=precision< Scalar >()) const |
bool | isConstant (const Scalar &value, RealScalar prec=precision< Scalar >()) const |
bool | isDiagonal (RealScalar prec=precision< Scalar >()) const |
bool | isIdentity (RealScalar prec=precision< Scalar >()) const |
bool | isLowerTriangular (RealScalar prec=precision< Scalar >()) const |
bool | isMuchSmallerThan (const RealScalar &other, RealScalar prec=precision< Scalar >()) const |
bool | isMuchSmallerThan (const MatrixBase< OtherDerived > &other, RealScalar prec=precision< Scalar >()) const |
bool | isOnes (RealScalar prec=precision< Scalar >()) const |
bool | isOrthogonal (const MatrixBase< OtherDerived > &other, RealScalar prec=precision< Scalar >()) const |
bool | isUnitary (RealScalar prec=precision< Scalar >()) const |
bool | isUpperTriangular (RealScalar prec=precision< Scalar >()) const |
bool | isVector () const |
bool | isZero (RealScalar prec=precision< Scalar >()) const |
const Flagged < PartialReduxExpr< MatrixType, MemberOp, Direction > , 0, EvalBeforeNestingBit|EvalBeforeAssigningBit > | lazy () const |
PartialReduxExpr< MatrixType, MemberOp, Direction > & | lazyAssign (const SparseProduct< Derived1, Derived2, SparseTimeDenseProduct > &product) |
PartialReduxExpr< MatrixType, MemberOp, Direction > & | lazyAssign (const SparseProduct< Derived1, Derived2, DenseTimeSparseProduct > &product) |
const LDLT< PlainMatrixType > | ldlt () const |
const LLT< PlainMatrixType > | llt () const |
RealScalar | lpNorm () const |
const LU< PlainMatrixType > | lu () const |
const Flagged < PartialReduxExpr< MatrixType, MemberOp, Direction >, Added, 0 > | marked () const |
ei_traits< PartialReduxExpr < MatrixType, MemberOp, Direction > >::Scalar | maxCoeff () const |
ei_traits< PartialReduxExpr < MatrixType, MemberOp, Direction > >::Scalar | maxCoeff (int *row, int *col) const |
ei_traits< PartialReduxExpr < MatrixType, MemberOp, Direction > >::Scalar | maxCoeff (int *index) const |
ei_traits< PartialReduxExpr < MatrixType, MemberOp, Direction > >::Scalar | minCoeff () const |
ei_traits< PartialReduxExpr < MatrixType, MemberOp, Direction > >::Scalar | minCoeff (int *row, int *col) const |
ei_traits< PartialReduxExpr < MatrixType, MemberOp, Direction > >::Scalar | minCoeff (int *index) const |
Minor< PartialReduxExpr < MatrixType, MemberOp, Direction > > | minor (int row, int col) |
const Minor< PartialReduxExpr < MatrixType, MemberOp, Direction > > | minor (int row, int col) const |
const NestByValue < PartialReduxExpr< MatrixType, MemberOp, Direction > > | nestByValue () const |
int | nonZeros () const |
RealScalar | norm () const |
void | normalize () |
const PlainMatrixType | normalized () const |
bool | operator!= (const MatrixBase< OtherDerived > &other) const |
const Scalar | operator() (int row, int col) const |
Scalar & | operator() (int row, int col) |
const Scalar | operator() (int index) const |
Scalar & | operator() (int index) |
const ScalarMultipleReturnType | operator* (const Scalar &scalar) const |
const ProductReturnType < PartialReduxExpr< MatrixType, MemberOp, Direction > , OtherDerived >::Type | operator* (const MatrixBase< OtherDerived > &other) const |
PartialReduxExpr< MatrixType, MemberOp, Direction > & | operator*= (const Scalar &other) |
PartialReduxExpr< MatrixType, MemberOp, Direction > & | operator*= (const MatrixBase< OtherDerived > &other) |
const CwiseBinaryOp < ei_scalar_sum_op< typename ei_traits< PartialReduxExpr < MatrixType, MemberOp, Direction > >::Scalar > , PartialReduxExpr< MatrixType, MemberOp, Direction > , OtherDerived > | operator+ (const MatrixBase< OtherDerived > &other) const |
PartialReduxExpr< MatrixType, MemberOp, Direction > & | operator+= (const MatrixBase< OtherDerived > &other) |
PartialReduxExpr< MatrixType, MemberOp, Direction > & | operator+= (const Flagged< Product< Lhs, Rhs, CacheFriendlyProduct >, 0, EvalBeforeNestingBit|EvalBeforeAssigningBit > &other) |
const CwiseUnaryOp < ei_scalar_opposite_op < typename ei_traits < PartialReduxExpr< MatrixType, MemberOp, Direction > >::Scalar >, PartialReduxExpr < MatrixType, MemberOp, Direction > > | operator- () const |
const CwiseBinaryOp < ei_scalar_difference_op < typename ei_traits < PartialReduxExpr< MatrixType, MemberOp, Direction > >::Scalar >, PartialReduxExpr < MatrixType, MemberOp, Direction >, OtherDerived > | operator- (const MatrixBase< OtherDerived > &other) const |
PartialReduxExpr< MatrixType, MemberOp, Direction > & | operator-= (const MatrixBase< OtherDerived > &other) |
const CwiseUnaryOp < ei_scalar_quotient1_op < typename ei_traits < PartialReduxExpr< MatrixType, MemberOp, Direction > >::Scalar >, PartialReduxExpr < MatrixType, MemberOp, Direction > > | operator/ (const Scalar &scalar) const |
PartialReduxExpr< MatrixType, MemberOp, Direction > & | operator/= (const Scalar &other) |
CommaInitializer < PartialReduxExpr< MatrixType, MemberOp, Direction > > | operator<< (const Scalar &s) |
CommaInitializer < PartialReduxExpr< MatrixType, MemberOp, Direction > > | operator<< (const MatrixBase< OtherDerived > &other) |
PartialReduxExpr< MatrixType, MemberOp, Direction > & | operator= (const MatrixBase< OtherDerived > &other) |
PartialReduxExpr< MatrixType, MemberOp, Direction > & | operator= (const MatrixBase &other) |
bool | operator== (const MatrixBase< OtherDerived > &other) const |
const Scalar | operator[] (int index) const |
Scalar & | operator[] (int index) |
RealScalar | operatorNorm () const |
int | outerSize () const |
PacketScalar | packet (int row, int col) const |
PacketScalar | packet (int index) const |
Part< PartialReduxExpr < MatrixType, MemberOp, Direction >, Mode > | part () |
const Part< PartialReduxExpr < MatrixType, MemberOp, Direction >, Mode > | part () const |
const QR< PlainMatrixType > | qr () const |
const RealReturnType | real () const |
ei_result_of< BinaryOp(typename ei_traits< PartialReduxExpr < MatrixType, MemberOp, Direction > >::Scalar)>::type | redux (const BinaryOp &func) const |
RowXpr | row (int i) |
const RowXpr | row (int i) const |
int | rows () const |
const PartialRedux < PartialReduxExpr< MatrixType, MemberOp, Direction > , Horizontal > | rowwise () const |
BlockReturnType < PartialReduxExpr< MatrixType, MemberOp, Direction > >::SubVectorType | segment (int start, int size) |
const BlockReturnType < PartialReduxExpr< MatrixType, MemberOp, Direction > >::SubVectorType | segment (int start, int size) const |
BlockReturnType < PartialReduxExpr< MatrixType, MemberOp, Direction >, Size > ::SubVectorType | segment (int start) |
const BlockReturnType < PartialReduxExpr< MatrixType, MemberOp, Direction >, Size > ::SubVectorType | segment (int start) const |
const Select< PartialReduxExpr < MatrixType, MemberOp, Direction >, ThenDerived, ElseDerived > | select (const MatrixBase< ThenDerived > &thenMatrix, const MatrixBase< ElseDerived > &elseMatrix) const |
const Select< PartialReduxExpr < MatrixType, MemberOp, Direction >, ThenDerived, NestByValue< typename ThenDerived::ConstantReturnType > > | select (const MatrixBase< ThenDerived > &thenMatrix, typename ThenDerived::Scalar elseScalar) const |
const Select< PartialReduxExpr < MatrixType, MemberOp, Direction >, NestByValue < typename ElseDerived::ConstantReturnType > , ElseDerived > | select (typename ElseDerived::Scalar thenScalar, const MatrixBase< ElseDerived > &elseMatrix) const |
PartialReduxExpr< MatrixType, MemberOp, Direction > & | setConstant (const Scalar &value) |
PartialReduxExpr< MatrixType, MemberOp, Direction > & | setIdentity () |
PartialReduxExpr< MatrixType, MemberOp, Direction > & | setOnes () |
PartialReduxExpr< MatrixType, MemberOp, Direction > & | setRandom () |
PartialReduxExpr< MatrixType, MemberOp, Direction > & | setZero () |
int | size () const |
ei_plain_matrix_type_column_major < OtherDerived >::type | solveTriangular (const MatrixBase< OtherDerived > &other) const |
void | solveTriangularInPlace (const MatrixBase< OtherDerived > &other) const |
RealScalar | squaredNorm () const |
BlockReturnType < PartialReduxExpr< MatrixType, MemberOp, Direction >, Dynamic > ::SubVectorType | start (int size) |
const BlockReturnType < PartialReduxExpr< MatrixType, MemberOp, Direction >, Dynamic > ::SubVectorType | start (int size) const |
BlockReturnType < PartialReduxExpr< MatrixType, MemberOp, Direction >, Size > ::SubVectorType | start (void) |
const BlockReturnType < PartialReduxExpr< MatrixType, MemberOp, Direction >, Size > ::SubVectorType | start () const |
int | stride (void) const |
Scalar | sum () const |
SVD< PlainMatrixType > | svd () const |
void | swap (const MatrixBase< OtherDerived > &other) |
Scalar | trace () const |
Eigen::Transpose < PartialReduxExpr< MatrixType, MemberOp, Direction > > | transpose () |
const Eigen::Transpose < PartialReduxExpr< MatrixType, MemberOp, Direction > > | transpose () const |
void | transposeInPlace () |
const CwiseUnaryOp < CustomUnaryOp, PartialReduxExpr< MatrixType, MemberOp, Direction > > | unaryExpr (const CustomUnaryOp &func=CustomUnaryOp()) const |
PlainMatrixType | unitOrthogonal (void) const |
void | visit (Visitor &func) const |
const Scalar | w () const |
Scalar & | w () |
void | writePacket (int row, int col, const PacketScalar &x) |
void | writePacket (int index, const PacketScalar &x) |
const Scalar | x () const |
Scalar & | x () |
const Scalar | y () const |
Scalar & | y () |
const Scalar | z () const |
Scalar & | z () |
Protected Attributes | |
const MemberOp | m_functor |
const MatrixTypeNested | m_matrix |
Additional Inherited Members | |
![]() | |
static const ConstantReturnType | Constant (int rows, int cols, const Scalar &value) |
static const ConstantReturnType | Constant (int size, const Scalar &value) |
static const ConstantReturnType | Constant (const Scalar &value) |
static const IdentityReturnType | Identity () |
static const IdentityReturnType | Identity (int rows, int cols) |
static const CwiseNullaryOp < CustomNullaryOp, PartialReduxExpr< MatrixType, MemberOp, Direction > > | NullaryExpr (int rows, int cols, const CustomNullaryOp &func) |
static const CwiseNullaryOp < CustomNullaryOp, PartialReduxExpr< MatrixType, MemberOp, Direction > > | NullaryExpr (int size, const CustomNullaryOp &func) |
static const CwiseNullaryOp < CustomNullaryOp, PartialReduxExpr< MatrixType, MemberOp, Direction > > | NullaryExpr (const CustomNullaryOp &func) |
static const ConstantReturnType | Ones (int rows, int cols) |
static const ConstantReturnType | Ones (int size) |
static const ConstantReturnType | Ones () |
static const CwiseNullaryOp < ei_scalar_random_op< Scalar > , PartialReduxExpr< MatrixType, MemberOp, Direction > > | Random (int rows, int cols) |
static const CwiseNullaryOp < ei_scalar_random_op< Scalar > , PartialReduxExpr< MatrixType, MemberOp, Direction > > | Random (int size) |
static const CwiseNullaryOp < ei_scalar_random_op< Scalar > , PartialReduxExpr< MatrixType, MemberOp, Direction > > | Random () |
static const BasisReturnType | Unit (int size, int i) |
static const BasisReturnType | Unit (int i) |
static const BasisReturnType | UnitW () |
static const BasisReturnType | UnitX () |
static const BasisReturnType | UnitY () |
static const BasisReturnType | UnitZ () |
static const ConstantReturnType | Zero (int rows, int cols) |
static const ConstantReturnType | Zero (int size) |
static const ConstantReturnType | Zero () |
![]() | |
MatrixBase () |
Generic expression of a partially reduxed matrix.
This is defined in the Array module.
MatrixType | the type of the matrix we are applying the redux operation |
MemberOp | type of the member functor |
Direction | indicates the direction of the redux (Vertical or Horizontal) |
This class represents an expression of a partial redux operator of a matrix. It is the return type of PartialRedux functions, and most of the time this is the only way it is used.