Logo Search packages:      
Sourcecode: blender version File versions  Download package

Block< MatrixType, BlockRows, BlockCols, PacketAccess, _DirectAccessStatus > Class Template Reference

#include <Block.h>

Inheritance diagram for Block< MatrixType, BlockRows, BlockCols, PacketAccess, _DirectAccessStatus >:

MatrixBase< Block< MatrixType, BlockRows, BlockCols, PacketAccess, _DirectAccessStatus > >

List of all members.


Detailed Description

template<typename MatrixType, int BlockRows, int BlockCols, int PacketAccess, int _DirectAccessStatus>
class Block< MatrixType, BlockRows, BlockCols, PacketAccess, _DirectAccessStatus >

Expression of a fixed-size or dynamic-size block.

Parameters:
MatrixType the type of the object in which we are taking a block
BlockRows the number of rows of the block we are taking at compile time (optional)
BlockCols the number of columns of the block we are taking at compile time (optional)
_PacketAccess allows to enforce aligned loads and stores if set to ForceAligned. The default is AsRequested. This parameter is internaly used by Eigen in expressions such as
 mat.block() += other; 
and most of the time this is the only way it is used.
_DirectAccessStatus 

For internal use only.

used for partial specialization

This class represents an expression of either a fixed-size or dynamic-size block. It is the return type of MatrixBase::block(int,int,int,int) and MatrixBase::block<int,int>(int,int) and most of the time this is the only way it is used.

However, if you want to directly maniputate block expressions, for instance if you want to write a function returning such an expression, you will need to use this class.

Here is an example illustrating the dynamic case:

Output:

Note:
Even though this expression has dynamic size, in the case where MatrixType has fixed size, this expression inherits a fixed maximal size which means that evaluating it does not cause a dynamic memory allocation.
Here is an example illustrating the fixed-size case:
Output:

See also:
MatrixBase::block(int,int,int,int), MatrixBase::block(int,int), class VectorBlock

Definition at line 93 of file Block.h.


Public Types

enum  
typedef Eigen::Transpose
< NestByValue< typename
ei_cleantype
< ConjugateReturnType >::type > > 
AdjointReturnType
typedef Block< CwiseNullaryOp
< ei_scalar_identity_op
< Scalar >, SquareMatrixType >
, ei_traits< Block< MatrixType,
BlockRows, BlockCols,
PacketAccess,
_DirectAccessStatus >
>::RowsAtCompileTime,
ei_traits< Block< MatrixType,
BlockRows, BlockCols,
PacketAccess,
_DirectAccessStatus >
>::ColsAtCompileTime > 
BasisReturnType
typedef Block< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus >
, ei_traits< Block< MatrixType,
BlockRows, BlockCols,
PacketAccess,
_DirectAccessStatus >
>::RowsAtCompileTime, 1 > 
ColXpr
typedef ei_meta_if< NumTraits
< Scalar >::IsComplex, const
CwiseUnaryOp
< ei_scalar_conjugate_op
< Scalar >, Block< MatrixType,
BlockRows, BlockCols,
PacketAccess,
_DirectAccessStatus > >, const
Block< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > & >::ret 
ConjugateReturnType
typedef CwiseNullaryOp
< ei_scalar_constant_op
< Scalar >, Block< MatrixType,
BlockRows, BlockCols,
PacketAccess,
_DirectAccessStatus > > 
ConstantReturnType
typedef Matrix< typename
NumTraits< typename ei_traits
< Block< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus >
>::Scalar >::Real, ei_traits
< Block< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus >
>::ColsAtCompileTime, 1 > 
EigenvaluesReturnType
typedef CwiseNullaryOp
< ei_scalar_identity_op
< Scalar >, Block< MatrixType,
BlockRows, BlockCols,
PacketAccess,
_DirectAccessStatus > > 
IdentityReturnType
typedef CwiseUnaryOp
< ei_scalar_imag_op< Scalar >
, Block< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > > 
ImagReturnType
typedef ei_packet_traits
< Scalar >::type 
PacketScalar
typedef ei_plain_matrix_type
< Block< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > >::type 
PlainMatrixType
typedef ei_plain_matrix_type
< Block< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > >::type 
PlainMatrixType_ColMajor
typedef CwiseUnaryOp
< ei_scalar_real_op< Scalar >
, Block< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > > 
RealReturnType
typedef NumTraits< Scalar >::Real RealScalar
typedef Block< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus >
, 1, ei_traits< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus >
>::ColsAtCompileTime > 
RowXpr
typedef ei_traits< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus >
>::Scalar 
Scalar
typedef CwiseUnaryOp
< ei_scalar_multiple_op
< Scalar >, Block< MatrixType,
BlockRows, BlockCols,
PacketAccess,
_DirectAccessStatus > > 
ScalarMultipleReturnType
typedef CwiseUnaryOp
< ei_scalar_quotient1_op
< Scalar >, Block< MatrixType,
BlockRows, BlockCols,
PacketAccess,
_DirectAccessStatus > > 
ScalarQuotient1ReturnType
typedef Matrix< Scalar,
EIGEN_ENUM_MAX(RowsAtCompileTime,
ColsAtCompileTime),
EIGEN_ENUM_MAX(RowsAtCompileTime,
ColsAtCompileTime)> 
SquareMatrixType

Public Member Functions

const AdjointReturnType adjoint () const
bool all (void) const
bool any (void) const
const DiagonalMatrix< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > > 
asDiagonal () const
const CwiseBinaryOp
< CustomBinaryOp, Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus >
, OtherDerived > 
binaryExpr (const MatrixBase< OtherDerived > &other, const CustomBinaryOp &func=CustomBinaryOp()) const
const BlockReturnType< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus >
, BlockRows, BlockCols >::Type 
block (int startRow, int startCol) const
BlockReturnType< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus >
, BlockRows, BlockCols >::Type 
block (int startRow, int startCol)
const BlockReturnType< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > >::Type 
block (int startRow, int startCol, int blockRows, int blockCols) const
BlockReturnType< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > >::Type 
block (int startRow, int startCol, int blockRows, int blockCols)
 Block (const MatrixType &matrix, int startRow, int startCol, int blockRows, int blockCols)
 Block (const MatrixType &matrix, int startRow, int startCol)
 Block (const MatrixType &matrix, int i)
const CwiseUnaryOp
< ei_scalar_cast_op< typename
ei_traits< Block< MatrixType,
BlockRows, BlockCols,
PacketAccess,
_DirectAccessStatus >
>::Scalar, NewType >, Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > > 
cast () const
const Scalar coeff (int index) const
const Scalar coeff (int row, int col) const
Scalar & coeffRef (int index)
Scalar & coeffRef (int row, int col)
const ColXpr col (int i) const
ColXpr col (int i)
int cols () const
const PartialRedux< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus >
, Vertical > 
colwise () const
void computeInverse (PlainMatrixType *result) const
ConjugateReturnType conjugate () const
Block< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > & 
const_cast_derived () const
void copyCoeff (int index, const MatrixBase< OtherDerived > &other)
void copyCoeff (int row, int col, const MatrixBase< OtherDerived > &other)
void copyPacket (int index, const MatrixBase< OtherDerived > &other)
void copyPacket (int row, int col, const MatrixBase< OtherDerived > &other)
const BlockReturnType< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus >, CRows,
CCols >::Type 
corner (CornerType type) const
BlockReturnType< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus >, CRows,
CCols >::Type 
corner (CornerType type)
const BlockReturnType< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > >::Type 
corner (CornerType type, int cRows, int cCols) const
BlockReturnType< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > >::Type 
corner (CornerType type, int cRows, int cCols)
int count () const
PlainMatrixType cross (const MatrixBase< OtherDerived > &other) const
Cwise< Block< MatrixType,
BlockRows, BlockCols,
PacketAccess,
_DirectAccessStatus > > 
cwise ()
const Cwise< Block< MatrixType,
BlockRows, BlockCols,
PacketAccess,
_DirectAccessStatus > > 
cwise () const
Block< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > & 
derived ()
const Block< MatrixType,
BlockRows, BlockCols,
PacketAccess,
_DirectAccessStatus > & 
derived () const
Scalar determinant () const
const DiagonalCoeffs< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > > 
diagonal () const
DiagonalCoeffs< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > > 
diagonal ()
Scalar dot (const MatrixBase< OtherDerived > &other) const
EigenvaluesReturnType eigenvalues () const
const BlockReturnType< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus >, Size >
::SubVectorType 
end () const
BlockReturnType< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus >, Size >
::SubVectorType 
end ()
const BlockReturnType< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus >, Dynamic >
::SubVectorType 
end (int size) const
BlockReturnType< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus >, Dynamic >
::SubVectorType 
end (int size)
Matrix< Scalar, 3, 1 > eulerAngles (int a0, int a1, int a2) const
EIGEN_STRONG_INLINE const
ei_eval< Block< MatrixType,
BlockRows, BlockCols,
PacketAccess,
_DirectAccessStatus > >::type 
eval () const
void fill (const Scalar &value)
const WithFormat< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > > 
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 MatrixBase< OtherDerived > &other, RealScalar prec=precision< Scalar >()) const
bool isMuchSmallerThan (const RealScalar &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< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus >
, 0, EvalBeforeNestingBit|EvalBeforeAssigningBit
lazy () const
Block< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > & 
lazyAssign (const SparseProduct< Derived1, Derived2, DenseTimeSparseProduct > &product)
Block< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > & 
lazyAssign (const SparseProduct< Derived1, Derived2, SparseTimeDenseProduct > &product)
Block< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > & 
lazyAssign (const Flagged< OtherDerived, 0, EvalBeforeNestingBit|EvalBeforeAssigningBit > &other)
Block< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > & 
lazyAssign (const Product< Lhs, Rhs, CacheFriendlyProduct > &product)
Block< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > & 
lazyAssign (const MatrixBase< OtherDerived > &other)
const LDLT< PlainMatrixTypeldlt () const
const LLT< PlainMatrixTypellt () const
RealScalar lpNorm () const
const LU< PlainMatrixTypelu () const
const Flagged< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus >, Added, 0 > 
marked () const
ei_traits< Block< MatrixType,
BlockRows, BlockCols,
PacketAccess,
_DirectAccessStatus >
>::Scalar 
maxCoeff (int *index) const
ei_traits< Block< MatrixType,
BlockRows, BlockCols,
PacketAccess,
_DirectAccessStatus >
>::Scalar 
maxCoeff (int *row, int *col) const
ei_traits< Block< MatrixType,
BlockRows, BlockCols,
PacketAccess,
_DirectAccessStatus >
>::Scalar 
maxCoeff () const
ei_traits< Block< MatrixType,
BlockRows, BlockCols,
PacketAccess,
_DirectAccessStatus >
>::Scalar 
minCoeff (int *index) const
ei_traits< Block< MatrixType,
BlockRows, BlockCols,
PacketAccess,
_DirectAccessStatus >
>::Scalar 
minCoeff (int *row, int *col) const
ei_traits< Block< MatrixType,
BlockRows, BlockCols,
PacketAccess,
_DirectAccessStatus >
>::Scalar 
minCoeff () const
const Minor< Block< MatrixType,
BlockRows, BlockCols,
PacketAccess,
_DirectAccessStatus > > 
minor (int row, int col) const
Minor< Block< MatrixType,
BlockRows, BlockCols,
PacketAccess,
_DirectAccessStatus > > 
minor (int row, int col)
const NestByValue< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > > 
nestByValue () const
int nonZeros () const
RealScalar norm () const
void normalize ()
const PlainMatrixType normalized () const
bool operator!= (const MatrixBase< OtherDerived > &other) const
Scalar & operator() (int index)
const Scalar operator() (int index) const
Scalar & operator() (int row, int col)
const Scalar operator() (int row, int col) const
const ProductReturnType< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus >
, OtherDerived >::Type 
operator* (const MatrixBase< OtherDerived > &other) const
const ScalarMultipleReturnType operator* (const Scalar &scalar) const
Block< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > & 
operator*= (const MatrixBase< OtherDerived > &other)
Block< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > & 
operator*= (const Scalar &other)
const CwiseBinaryOp
< ei_scalar_sum_op< typename
ei_traits< Block< MatrixType,
BlockRows, BlockCols,
PacketAccess,
_DirectAccessStatus >
>::Scalar >, Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus >
, OtherDerived > 
operator+ (const MatrixBase< OtherDerived > &other) const
Block< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > & 
operator+= (const Flagged< Product< Lhs, Rhs, CacheFriendlyProduct >, 0, EvalBeforeNestingBit|EvalBeforeAssigningBit > &other)
Block< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > & 
operator+= (const MatrixBase< OtherDerived > &other)
const CwiseBinaryOp
< ei_scalar_difference_op
< typename ei_traits< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus >
>::Scalar >, Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus >
, OtherDerived > 
operator- (const MatrixBase< OtherDerived > &other) const
const CwiseUnaryOp
< ei_scalar_opposite_op
< typename ei_traits< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus >
>::Scalar >, Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > > 
operator- () const
Block< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > & 
operator-= (const MatrixBase< OtherDerived > &other)
const CwiseUnaryOp
< ei_scalar_quotient1_op
< typename ei_traits< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus >
>::Scalar >, Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > > 
operator/ (const Scalar &scalar) const
Block< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > & 
operator/= (const Scalar &other)
CommaInitializer< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > > 
operator<< (const MatrixBase< OtherDerived > &other)
CommaInitializer< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > > 
operator<< (const Scalar &s)
bool operator== (const MatrixBase< OtherDerived > &other) const
Scalar & operator[] (int index)
const Scalar operator[] (int index) const
RealScalar operatorNorm () const
int outerSize () const
template<int LoadMode>
PacketScalar packet (int index) const
template<int LoadMode>
PacketScalar packet (int row, int col) const
const Part< Block< MatrixType,
BlockRows, BlockCols,
PacketAccess,
_DirectAccessStatus >, Mode > 
part () const
Part< Block< MatrixType,
BlockRows, BlockCols,
PacketAccess,
_DirectAccessStatus >, Mode > 
part ()
const QR< PlainMatrixTypeqr () const
const RealReturnType real () const
const RowXpr row (int i) const
RowXpr row (int i)
int rows () const
const PartialRedux< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus >
, Horizontal > 
rowwise () const
const BlockReturnType< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus >, Size >
::SubVectorType 
segment (int start) const
BlockReturnType< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus >, Size >
::SubVectorType 
segment (int start)
const BlockReturnType< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus >
>::SubVectorType 
segment (int start, int size) const
BlockReturnType< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus >
>::SubVectorType 
segment (int start, int size)
const Select< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus >
, NestByValue< typename
ElseDerived::ConstantReturnType >
, ElseDerived > 
select (typename ElseDerived::Scalar thenScalar, const MatrixBase< ElseDerived > &elseMatrix) const
const Select< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus >
, ThenDerived, NestByValue
< typename
ThenDerived::ConstantReturnType > > 
select (const MatrixBase< ThenDerived > &thenMatrix, typename ThenDerived::Scalar elseScalar) const
const Select< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus >
, ThenDerived, ElseDerived > 
select (const MatrixBase< ThenDerived > &thenMatrix, const MatrixBase< ElseDerived > &elseMatrix) const
Block< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > & 
setConstant (const Scalar &value)
Block< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > & 
setIdentity ()
Block< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > & 
setOnes ()
Block< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > & 
setRandom ()
Block< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > & 
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
const BlockReturnType< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus >, Size >
::SubVectorType 
start () const
BlockReturnType< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus >, Size >
::SubVectorType 
start (void)
const BlockReturnType< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus >, Dynamic >
::SubVectorType 
start (int size) const
BlockReturnType< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus >, Dynamic >
::SubVectorType 
start (int size)
int stride (void) const
Scalar sum () const
SVD< PlainMatrixTypesvd () const
void swap (const MatrixBase< OtherDerived > &other)
Scalar trace () const
const Eigen::Transpose< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > > 
transpose () const
Eigen::Transpose< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > > 
transpose ()
void transposeInPlace ()
const CwiseUnaryOp
< CustomUnaryOp, Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > > 
unaryExpr (const CustomUnaryOp &func=CustomUnaryOp()) const
PlainMatrixType unitOrthogonal (void) const
void visit (Visitor &func) const
Scalar & w ()
const Scalar w () const
void writePacket (int index, const PacketScalar &x)
void writePacket (int row, int col, const PacketScalar &x)
template<int LoadMode>
void writePacket (int index, const PacketScalar &x)
template<int LoadMode>
void writePacket (int row, int col, const PacketScalar &x)
Scalar & x ()
const Scalar x () const
Scalar & y ()
const Scalar y () const
Scalar & z ()
const Scalar z () const

Static Public Member Functions

static const ConstantReturnType Constant (const Scalar &value)
static const ConstantReturnType Constant (int size, const Scalar &value)
static const ConstantReturnType Constant (int rows, int cols, const Scalar &value)
static const IdentityReturnType Identity (int rows, int cols)
static const IdentityReturnType Identity ()
static const CwiseNullaryOp
< CustomNullaryOp, Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > > 
NullaryExpr (const CustomNullaryOp &func)
static const CwiseNullaryOp
< CustomNullaryOp, Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > > 
NullaryExpr (int size, const CustomNullaryOp &func)
static const CwiseNullaryOp
< CustomNullaryOp, Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > > 
NullaryExpr (int rows, int cols, const CustomNullaryOp &func)
static const ConstantReturnType Ones ()
static const ConstantReturnType Ones (int size)
static const ConstantReturnType Ones (int rows, int cols)
static const CwiseNullaryOp
< ei_scalar_random_op< Scalar >
, Block< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > > 
Random ()
static const CwiseNullaryOp
< ei_scalar_random_op< Scalar >
, Block< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > > 
Random (int size)
static const CwiseNullaryOp
< ei_scalar_random_op< Scalar >
, Block< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > > 
Random (int rows, int cols)
static const BasisReturnType Unit (int i)
static const BasisReturnType Unit (int size, int i)
static const BasisReturnType UnitW ()
static const BasisReturnType UnitX ()
static const BasisReturnType UnitY ()
static const BasisReturnType UnitZ ()
static const ConstantReturnType Zero ()
static const ConstantReturnType Zero (int size)
static const ConstantReturnType Zero (int rows, int cols)

Protected Attributes

const ei_int_if_dynamic
< ColsAtCompileTime > 
m_blockCols
const ei_int_if_dynamic
< RowsAtCompileTime > 
m_blockRows
const MatrixType::Nested m_matrix
const ei_int_if_dynamic
< MatrixType::ColsAtCompileTime==1?0:Dynamic > 
m_startCol
const ei_int_if_dynamic
< MatrixType::RowsAtCompileTime==1?0:Dynamic > 
m_startRow

Friends

const CwiseUnaryOp
< ei_scalar_multiple_op
< typename ei_traits< Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus >
>::Scalar >, Block
< MatrixType, BlockRows,
BlockCols, PacketAccess,
_DirectAccessStatus > > 
operator* (const Scalar &scalar, const MatrixBase &matrix)

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

Generated by  Doxygen 1.6.0   Back to index