|
MOAB
4.9.3pre
|
#include <BandMatrix.h>


Classes | |
| struct | DiagonalIntReturnType |
Public Types | |
| enum | { Flags = internal::traits<Derived>::Flags, 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, Supers = internal::traits<Derived>::Supers, Subs = internal::traits<Derived>::Subs, Options = internal::traits<Derived>::Options } |
| typedef internal::traits < Derived >::Scalar | Scalar |
| typedef Matrix< Scalar, RowsAtCompileTime, ColsAtCompileTime > | DenseMatrixType |
| typedef DenseMatrixType::StorageIndex | StorageIndex |
| typedef internal::traits < Derived >::CoefficientsType | CoefficientsType |
| typedef EigenBase< Derived > | Base |
Public Member Functions | |
| Index | supers () const |
| Index | subs () const |
| const CoefficientsType & | coeffs () const |
| CoefficientsType & | coeffs () |
| Block< CoefficientsType, Dynamic, 1 > | col (Index i) |
| Block< CoefficientsType, 1, SizeAtCompileTime > | diagonal () |
| const Block< const CoefficientsType, 1, SizeAtCompileTime > | diagonal () const |
| template<int N> | |
| DiagonalIntReturnType< N >::Type | diagonal () |
| template<int N> | |
| const DiagonalIntReturnType< N > ::Type | diagonal () const |
| Block< CoefficientsType, 1, Dynamic > | diagonal (Index i) |
| const Block< const CoefficientsType, 1, Dynamic > | diagonal (Index i) const |
| template<typename Dest > | |
| void | evalTo (Dest &dst) const |
| DenseMatrixType | toDenseMatrix () const |
Protected Types | |
| enum | { DataRowsAtCompileTime, SizeAtCompileTime = EIGEN_SIZE_MIN_PREFER_DYNAMIC(RowsAtCompileTime,ColsAtCompileTime) } |
Protected Member Functions | |
| Index | diagonalLength (Index i) const |
Definition at line 18 of file BandMatrix.h.
| typedef EigenBase<Derived> Eigen::internal::BandMatrixBase< Derived >::Base |
Reimplemented in Eigen::internal::TridiagonalMatrix< Scalar, Size, Options >.
Definition at line 37 of file BandMatrix.h.
| typedef internal::traits<Derived>::CoefficientsType Eigen::internal::BandMatrixBase< Derived >::CoefficientsType |
Reimplemented in Eigen::internal::BandMatrixWrapper< _CoefficientsType, _Rows, _Cols, _Supers, _Subs, _Options >, Eigen::internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >, Eigen::internal::BandMatrix< RealScalar, ColsAtCompileTime, ColsAtCompileTime, 1, 0, RowMajor >, and Eigen::internal::BandMatrix< Scalar, Size, Size, Options &SelfAdjoint?0:1, 1, Options|RowMajor >.
Definition at line 36 of file BandMatrix.h.
| typedef Matrix<Scalar,RowsAtCompileTime,ColsAtCompileTime> Eigen::internal::BandMatrixBase< Derived >::DenseMatrixType |
Definition at line 34 of file BandMatrix.h.
| typedef internal::traits<Derived>::Scalar Eigen::internal::BandMatrixBase< Derived >::Scalar |
Reimplemented in Eigen::internal::BandMatrixWrapper< _CoefficientsType, _Rows, _Cols, _Supers, _Subs, _Options >, Eigen::internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >, Eigen::internal::BandMatrix< RealScalar, ColsAtCompileTime, ColsAtCompileTime, 1, 0, RowMajor >, and Eigen::internal::BandMatrix< Scalar, Size, Size, Options &SelfAdjoint?0:1, 1, Options|RowMajor >.
Definition at line 33 of file BandMatrix.h.
| typedef DenseMatrixType::StorageIndex Eigen::internal::BandMatrixBase< Derived >::StorageIndex |
Reimplemented in Eigen::internal::TridiagonalMatrix< Scalar, Size, Options >, Eigen::internal::BandMatrixWrapper< _CoefficientsType, _Rows, _Cols, _Supers, _Subs, _Options >, Eigen::internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >, Eigen::internal::BandMatrix< RealScalar, ColsAtCompileTime, ColsAtCompileTime, 1, 0, RowMajor >, and Eigen::internal::BandMatrix< Scalar, Size, Size, Options &SelfAdjoint?0:1, 1, Options|RowMajor >.
Definition at line 35 of file BandMatrix.h.
| anonymous enum |
| Flags | |
| CoeffReadCost | |
| RowsAtCompileTime | |
| ColsAtCompileTime | |
| MaxRowsAtCompileTime | |
| MaxColsAtCompileTime | |
| Supers | |
| Subs | |
| Options |
Definition at line 22 of file BandMatrix.h.
{
Flags = internal::traits<Derived>::Flags,
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,
Supers = internal::traits<Derived>::Supers,
Subs = internal::traits<Derived>::Subs,
Options = internal::traits<Derived>::Options
};
anonymous enum [protected] |
Definition at line 40 of file BandMatrix.h.
{
DataRowsAtCompileTime = ((Supers!=Dynamic) && (Subs!=Dynamic))
? 1 + Supers + Subs
: Dynamic,
SizeAtCompileTime = EIGEN_SIZE_MIN_PREFER_DYNAMIC(RowsAtCompileTime,ColsAtCompileTime)
};
| const CoefficientsType& Eigen::internal::BandMatrixBase< Derived >::coeffs | ( | ) | const [inline] |
Reimplemented in Eigen::internal::BandMatrixWrapper< _CoefficientsType, _Rows, _Cols, _Supers, _Subs, _Options >, Eigen::internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >, Eigen::internal::BandMatrix< RealScalar, ColsAtCompileTime, ColsAtCompileTime, 1, 0, RowMajor >, and Eigen::internal::BandMatrix< Scalar, Size, Size, Options &SelfAdjoint?0:1, 1, Options|RowMajor >.
Definition at line 60 of file BandMatrix.h.
{ return derived().coeffs(); }
| CoefficientsType& Eigen::internal::BandMatrixBase< Derived >::coeffs | ( | ) | [inline] |
Reimplemented in Eigen::internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >, Eigen::internal::BandMatrix< RealScalar, ColsAtCompileTime, ColsAtCompileTime, 1, 0, RowMajor >, and Eigen::internal::BandMatrix< Scalar, Size, Size, Options &SelfAdjoint?0:1, 1, Options|RowMajor >.
Definition at line 63 of file BandMatrix.h.
{ return derived().coeffs(); }
| Block<CoefficientsType,Dynamic,1> Eigen::internal::BandMatrixBase< Derived >::col | ( | Index | i | ) | [inline] |
Definition at line 68 of file BandMatrix.h.
{
EIGEN_STATIC_ASSERT((Options&RowMajor)==0,THIS_METHOD_IS_ONLY_FOR_COLUMN_MAJOR_MATRICES);
Index start = 0;
Index len = coeffs().rows();
if (i<=supers())
{
start = supers()-i;
len = (std::min)(rows(),std::max<Index>(0,coeffs().rows() - (supers()-i)));
}
else if (i>=rows()-subs())
len = std::max<Index>(0,coeffs().rows() - (i + 1 - rows() + subs()));
return Block<CoefficientsType,Dynamic,1>(coeffs(), start, i, len, 1);
}
| Block<CoefficientsType,1,SizeAtCompileTime> Eigen::internal::BandMatrixBase< Derived >::diagonal | ( | ) | [inline] |
| const Block<const CoefficientsType,1,SizeAtCompileTime> Eigen::internal::BandMatrixBase< Derived >::diagonal | ( | ) | const [inline] |
| DiagonalIntReturnType<N>::Type Eigen::internal::BandMatrixBase< Derived >::diagonal | ( | ) | [inline] |
Definition at line 109 of file BandMatrix.h.
{
return typename DiagonalIntReturnType<N>::BuildType(coeffs(), supers()-N, (std::max)(0,N), 1, diagonalLength(N));
}
| const DiagonalIntReturnType<N>::Type Eigen::internal::BandMatrixBase< Derived >::diagonal | ( | ) | const [inline] |
Definition at line 115 of file BandMatrix.h.
{
return typename DiagonalIntReturnType<N>::BuildType(coeffs(), supers()-N, (std::max)(0,N), 1, diagonalLength(N));
}
| Block<CoefficientsType,1,Dynamic> Eigen::internal::BandMatrixBase< Derived >::diagonal | ( | Index | i | ) | [inline] |
Definition at line 121 of file BandMatrix.h.
{
eigen_assert((i<0 && -i<=subs()) || (i>=0 && i<=supers()));
return Block<CoefficientsType,1,Dynamic>(coeffs(), supers()-i, std::max<Index>(0,i), 1, diagonalLength(i));
}
| const Block<const CoefficientsType,1,Dynamic> Eigen::internal::BandMatrixBase< Derived >::diagonal | ( | Index | i | ) | const [inline] |
Definition at line 128 of file BandMatrix.h.
{
eigen_assert((i<0 && -i<=subs()) || (i>=0 && i<=supers()));
return Block<const CoefficientsType,1,Dynamic>(coeffs(), supers()-i, std::max<Index>(0,i), 1, diagonalLength(i));
}
| Index Eigen::internal::BandMatrixBase< Derived >::diagonalLength | ( | Index | i | ) | const [inline, protected] |
| void Eigen::internal::BandMatrixBase< Derived >::evalTo | ( | Dest & | dst | ) | const [inline] |
Don't use it, but do the equivalent:
dst = *this;
Reimplemented from Eigen::EigenBase< Derived >.
Definition at line 134 of file BandMatrix.h.
| Index Eigen::internal::BandMatrixBase< Derived >::subs | ( | ) | const [inline] |
Reimplemented in Eigen::internal::BandMatrixWrapper< _CoefficientsType, _Rows, _Cols, _Supers, _Subs, _Options >, Eigen::internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >, Eigen::internal::BandMatrix< RealScalar, ColsAtCompileTime, ColsAtCompileTime, 1, 0, RowMajor >, and Eigen::internal::BandMatrix< Scalar, Size, Size, Options &SelfAdjoint?0:1, 1, Options|RowMajor >.
Definition at line 57 of file BandMatrix.h.
{ return derived().subs(); }
| Index Eigen::internal::BandMatrixBase< Derived >::supers | ( | ) | const [inline] |
Reimplemented in Eigen::internal::BandMatrixWrapper< _CoefficientsType, _Rows, _Cols, _Supers, _Subs, _Options >, Eigen::internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >, Eigen::internal::BandMatrix< RealScalar, ColsAtCompileTime, ColsAtCompileTime, 1, 0, RowMajor >, and Eigen::internal::BandMatrix< Scalar, Size, Size, Options &SelfAdjoint?0:1, 1, Options|RowMajor >.
Definition at line 54 of file BandMatrix.h.
{ return derived().supers(); }
| DenseMatrixType Eigen::internal::BandMatrixBase< Derived >::toDenseMatrix | ( | ) | const [inline] |
Definition at line 145 of file BandMatrix.h.
{
DenseMatrixType res(rows(),cols());
evalTo(res);
return res;
}