Public Types | Public Member Functions | Protected Attributes

Minor< MatrixType > Class Template Reference

Expression of a minor. More...

#include <Minor.h>

Inheritance diagram for Minor< MatrixType >:
MatrixBase< Minor< MatrixType > > DenseBase< Minor< MatrixType > > internal::special_scalar_op_base< Derived, Scalar, OtherScalar, EnableIt > DenseCoeffsBase

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

Detailed Description

template<typename MatrixType>
class Minor< MatrixType >

Expression of a minor.

Parameters:
MatrixType the 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()

Member Typedef Documentation

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

Reimplemented from MatrixBase< Minor< MatrixType > >.


Constructor & Destructor Documentation

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

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]
template<typename MatrixType>
Index Minor< MatrixType >::rows ( void   )  const [inline]

Member Data Documentation

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

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