Go to the documentation of this file.
10 #ifndef EIGEN_BANDMATRIX_H
11 #define EIGEN_BANDMATRIX_H
17 template<
typename Derived>
79 len = std::max<Index>(0,
coeffs().rows() - (i + 1 -
rows() +
subs()));
134 template<
typename Dest>
inline void evalTo(Dest& dst)
const
177 template<
typename _Scalar,
int _Rows,
int _Cols,
int _Supers,
int _Subs,
int _Options>
198 template<
typename _Scalar,
int Rows,
int Cols,
int Supers,
int Subs,
int Options>
236 template<
typename _CoefficientsType,
int _Rows,
int _Cols,
int _Supers,
int _Subs,
int _Options>
239 template<
typename _CoefficientsType,
int _Rows,
int _Cols,
int _Supers,
int _Subs,
int _Options>
260 template<
typename _CoefficientsType,
int _Rows,
int _Cols,
int _Supers,
int _Subs,
int _Options>
311 template<
typename Scalar,
int Size,
int Options>
320 {
return Base::template diagonal<1>(); }
322 {
return Base::template diagonal<1>(); }
323 inline typename Base::template DiagonalIntReturnType<-1>
::Type sub()
324 {
return Base::template
diagonal<-1>(); }
325 inline const typename Base::template DiagonalIntReturnType<-1>
::Type sub()
const
326 {
return Base::template
diagonal<-1>(); }
333 template<
typename _Scalar,
int _Rows,
int _Cols,
int _Supers,
int _Subs,
int _Options>
340 template<
typename _CoefficientsType,
int _Rows,
int _Cols,
int _Supers,
int _Subs,
int _Options>
342 :
public evaluator_traits_base<BandMatrixWrapper<_CoefficientsType,_Rows,_Cols,_Supers,_Subs,_Options> >
353 #endif // EIGEN_BANDMATRIX_H
Represents a rectangular matrix with a banded storage.
Matrix< Scalar, RowsAtCompileTime, ColsAtCompileTime > DenseMatrixType
Matrix< Scalar, DataRowsAtCompileTime, ColsAtCompileTime, Options &RowMajor?RowMajor:ColMajor > CoefficientsType
Base::StorageIndex StorageIndex
Expression of a fixed-size or dynamic-size block.
EIGEN_DEVICE_FUNC Derived & derived()
CoefficientsType & coeffs()
EIGEN_DEVICE_FUNC Index rows() const
Eigen::Index Index
The interface type of indices.
const CoefficientsType & coeffs() const
Block< CoefficientsType, 1, SizeAtCompileTime > diagonal()
_CoefficientsType::Scalar Scalar
TridiagonalMatrix(Index size=Size)
internal::traits< BandMatrix >::CoefficientsType CoefficientsType
internal::traits< BandMatrixWrapper >::StorageIndex StorageIndex
internal::variable_if_dynamic< Index, _Subs > m_subs
const Block< const CoefficientsType, 1, Dynamic > diagonal(Index i) const
internal::traits< Derived >::CoefficientsType CoefficientsType
DiagonalIntReturnType< N >::Type diagonal()
DenseMatrixType::StorageIndex StorageIndex
BandMatrix(Index rows=Rows, Index cols=Cols, Index supers=Supers, Index subs=Subs)
_CoefficientsType::StorageKind StorageKind
EIGEN_DEVICE_FUNC Index size() const
EIGEN_DEVICE_FUNC Index cols() const
Eigen::Index StorageIndex
internal::variable_if_dynamic< Index, _Rows > m_rows
const CoefficientsType & coeffs() const
EigenBase< Derived > Base
internal::traits< BandMatrixWrapper >::CoefficientsType CoefficientsType
#define EIGEN_UNUSED_VARIABLE(var)
internal::variable_if_dynamic< Index, _Supers > m_supers
const unsigned int LvalueBit
BandMatrixWrapper(const CoefficientsType &coeffs, Index rows=_Rows, Index cols=_Cols, Index supers=_Supers, Index subs=_Subs)
CoefficientsType m_coeffs
const Block< const CoefficientsType, 1, SizeAtCompileTime > diagonal() const
internal::traits< Derived >::Scalar Scalar
const CoefficientsType & coeffs() const
internal::variable_if_dynamic< Index, Supers > m_supers
#define EIGEN_SIZE_MIN_PREFER_DYNAMIC(a, b)
BandMatrix< Scalar, Size, Size, Options &SelfAdjoint?0:1, 1, Options|RowMajor > Base
const Base::template DiagonalIntReturnType< 1 >::Type super() const
CoefficientsType & coeffs()
internal::variable_if_dynamic< Index, Rows > m_rows
internal::traits< BandMatrix >::StorageIndex StorageIndex
Base::template DiagonalIntReturnType<-1 >::Type sub()
internal::traits< BandMatrix >::Scalar Scalar
Index diagonalLength(Index i) const
_CoefficientsType CoefficientsType
Base::template DiagonalIntReturnType< 1 >::Type super()
void evalTo(Dest &dst) const
const CoefficientsType & m_coeffs
#define EIGEN_STATIC_ASSERT(CONDITION, MSG)
Generic expression where a coefficient-wise unary operator is applied to an expression.
internal::conditional< Conjugate, CwiseUnaryOp< internal::scalar_conjugate_op< Scalar >, BuildType >, BuildType >::type Type
Block< CoefficientsType, 1, Dynamic > diagonal(Index i)
Represents a tridiagonal matrix with a compact banded storage.
The matrix class, also used for vectors and row-vectors.
_CoefficientsType::StorageIndex StorageIndex
Block< CoefficientsType, Dynamic, 1 > col(Index i)
internal::variable_if_dynamic< Index, Subs > m_subs
DenseMatrixType toDenseMatrix() const
Block< CoefficientsType, 1, DiagonalSize > BuildType
Holds information about the various numeric (i.e. scalar) types allowed by Eigen.
internal::traits< BandMatrixWrapper >::Scalar Scalar
const Base::template DiagonalIntReturnType<-1 >::Type sub() const
const DiagonalIntReturnType< N >::Type diagonal() const
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
control_box_rst
Author(s): Christoph Rösmann
autogenerated on Wed Mar 2 2022 00:05:37