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

TriangularBase< Derived > Class Template Reference


Detailed Description

template<typename Derived>
class TriangularBase< Derived >

Definition at line 36 of file TriangularMatrix.h.

#include <src/Core/TriangularMatrix.h>

Inheritance diagram for TriangularBase< Derived >:
Inheritance graph
[legend]

List of all members.

Public Types

enum  {
  Mode = internal::traits<Derived>::Mode, CoeffReadCost = internal::traits<Derived>::CoeffReadCost, RowsAtCompileTime = internal::traits<Derived>::RowsAtCompileTime, ColsAtCompileTime = internal::traits<Derived>::ColsAtCompileTime,
  MaxRowsAtCompileTime = internal::traits<Derived>::MaxRowsAtCompileTime, MaxColsAtCompileTime = internal::traits<Derived>::MaxColsAtCompileTime
}
typedef internal::traits
< Derived >::Scalar 
Scalar
typedef internal::traits
< Derived >::StorageKind 
StorageKind
typedef internal::traits
< Derived >::Index 
Index

Public Member Functions

 TriangularBase ()
Index rows () const
Index cols () const
Index outerStride () const
Index innerStride () const
Scalar coeff (Index row, Index col) const
ScalarcoeffRef (Index row, Index col)
template<typename Other >
EIGEN_STRONG_INLINE void copyCoeff (Index row, Index col, Other &other)
Scalar operator() (Index row, Index col) const
Scalaroperator() (Index row, Index col)
template<typename DenseDerived >
void evalTo (MatrixBase< DenseDerived > &other) const
 Assigns a triangular or selfadjoint matrix to a dense matrix.
template<typename DenseDerived >
void evalToLazy (MatrixBase< DenseDerived > &other) const
 Assigns a triangular or selfadjoint matrix to a dense matrix.

Protected Member Functions

void check_coordinates (Index row, Index col) const
void check_coordinates_internal (Index, Index) const

Member Typedef Documentation

template<typename Derived>
typedef internal::traits<Derived>::Index TriangularBase< Derived >::Index

Reimplemented from EigenBase< Derived >.

Reimplemented in SelfAdjointView< MatrixType, UpLo >, and TriangularView< _MatrixType, _Mode >.

Definition at line 50 of file TriangularMatrix.h.

template<typename Derived>
typedef internal::traits<Derived>::Scalar TriangularBase< Derived >::Scalar
template<typename Derived>
typedef internal::traits<Derived>::StorageKind TriangularBase< Derived >::StorageKind

Reimplemented from EigenBase< Derived >.

Reimplemented in TriangularView< _MatrixType, _Mode >.

Definition at line 49 of file TriangularMatrix.h.


Member Enumeration Documentation

template<typename Derived>
anonymous enum
Enumerator:
Mode 
CoeffReadCost 
RowsAtCompileTime 
ColsAtCompileTime 
MaxRowsAtCompileTime 
MaxColsAtCompileTime 

Definition at line 40 of file TriangularMatrix.h.


Constructor & Destructor Documentation

template<typename Derived>
TriangularBase< Derived >::TriangularBase (  ) [inline]

Definition at line 52 of file TriangularMatrix.h.


Member Function Documentation

template<typename Derived>
void TriangularBase< Derived >::check_coordinates ( Index  row,
Index  col 
) const [inline, protected]
template<typename Derived>
void TriangularBase< Derived >::check_coordinates_internal ( Index  ,
Index   
) const [inline, protected]
template<typename Derived>
Scalar TriangularBase< Derived >::coeff ( Index  row,
Index  col 
) const [inline]
template<typename Derived>
Scalar& TriangularBase< Derived >::coeffRef ( Index  row,
Index  col 
) [inline]
template<typename Derived>
Index TriangularBase< Derived >::cols ( void   ) const [inline]
template<typename Derived>
template<typename Other >
EIGEN_STRONG_INLINE void TriangularBase< Derived >::copyCoeff ( Index  row,
Index  col,
Other &  other 
) [inline]
See also:
MatrixBase::copyCoeff(row,col)

Definition at line 65 of file TriangularMatrix.h.

template<typename Derived >
template<typename DenseDerived >
void TriangularBase< Derived >::evalTo ( MatrixBase< DenseDerived > &  other ) const

Assigns a triangular or selfadjoint matrix to a dense matrix.

If the matrix is triangular, the opposite part is set to zero.

Definition at line 638 of file TriangularMatrix.h.

References EvalBeforeAssigningBit, and DenseBase< Derived >::swap().

template<typename Derived >
template<typename DenseDerived >
void TriangularBase< Derived >::evalToLazy ( MatrixBase< DenseDerived > &  other ) const

Assigns a triangular or selfadjoint matrix to a dense matrix.

If the matrix is triangular, the opposite part is set to zero.

Definition at line 654 of file TriangularMatrix.h.

References Dynamic, eigen_assert, and EIGEN_UNROLLING_LIMIT.

template<typename Derived>
Index TriangularBase< Derived >::innerStride (  ) const [inline]
template<typename Derived>
Scalar TriangularBase< Derived >::operator() ( Index  row,
Index  col 
) const [inline]

Definition at line 70 of file TriangularMatrix.h.

template<typename Derived>
Scalar& TriangularBase< Derived >::operator() ( Index  row,
Index  col 
) [inline]

Definition at line 75 of file TriangularMatrix.h.

template<typename Derived>
Index TriangularBase< Derived >::outerStride (  ) const [inline]
template<typename Derived>
Index TriangularBase< Derived >::rows ( void   ) const [inline]



Page generated by Doxygen 1.7.2 for MRPT 0.9.4 SVN: at Mon Jan 10 22:30:30 UTC 2011