Main MRPT website > C++ reference
MRPT logo
Public Types | Public Member Functions | Protected Attributes

Minor< MatrixType > Class Template Reference


Detailed Description

template<typename MatrixType>
class Minor< MatrixType >

Expression of a minor.

Parameters:
MatrixTypethe type of the object in which we are taking a minor

This class represents an expression of a minor. It is the return type of MatrixBase::minor() and most of the time this is the only way it is used.

See also:
MatrixBase::minor()

Definition at line 66 of file Minor.h.

#include <src/Eigen2Support/Minor.h>

Inheritance diagram for Minor< MatrixType >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef MatrixBase< MinorBase

Public Member Functions

 Minor (const MatrixType &matrix, Index row, Index col)
Index rows () const
Index cols () const
ScalarcoeffRef (Index row, Index col)
const Scalar coeff (Index row, Index col) const

Protected Attributes

const MatrixType::Nested m_matrix
const Index m_row
const Index m_col

Member Typedef Documentation

template<typename MatrixType>
typedef MatrixBase<Minor> Minor< MatrixType >::Base

Reimplemented from DenseBase< Minor< MatrixType > >.

Definition at line 71 of file Minor.h.


Constructor & Destructor Documentation

template<typename MatrixType>
Minor< MatrixType >::Minor ( const MatrixType &  matrix,
Index  row,
Index  col 
) [inline]

Definition at line 74 of file Minor.h.

References eigen_assert.


Member Function Documentation

template<typename MatrixType>
const Scalar Minor< MatrixType >::coeff ( Index  row,
Index  col 
) const [inline]
template<typename MatrixType>
Scalar& Minor< MatrixType >::coeffRef ( Index  row,
Index  col 
) [inline]
template<typename MatrixType>
Index Minor< MatrixType >::cols ( void  ) const [inline]

Definition at line 85 of file Minor.h.

References Minor< MatrixType >::m_matrix.

template<typename MatrixType>
Index Minor< MatrixType >::rows ( void  ) const [inline]

Definition at line 84 of file Minor.h.

References Minor< MatrixType >::m_matrix.


Member Data Documentation

template<typename MatrixType>
const Index Minor< MatrixType >::m_col [protected]

Definition at line 99 of file Minor.h.

Referenced by Minor< MatrixType >::coeff(), and Minor< MatrixType >::coeffRef().

template<typename MatrixType>
const MatrixType::Nested Minor< MatrixType >::m_matrix [protected]
template<typename MatrixType>
const Index Minor< MatrixType >::m_row [protected]

Definition at line 99 of file Minor.h.

Referenced by Minor< MatrixType >::coeff(), and Minor< MatrixType >::coeffRef().




Page generated by Doxygen 1.7.3 for MRPT 0.9.4 SVN:exported at Tue Jan 25 21:56:31 UTC 2011