![]() |
Prusa Slicer 2.6.0
|
Expression of a diagonal/subdiagonal/superdiagonal in a matrix. More...
#include <src/eigen/Eigen/src/Core/Diagonal.h>
Inheritance diagram for Eigen::Diagonal< MatrixType, _DiagIndex >:
Collaboration diagram for Eigen::Diagonal< MatrixType, _DiagIndex >:Public Types | |
| enum | { DiagIndex = _DiagIndex } |
| typedef internal::dense_xpr_base< Diagonal >::type | Base |
| typedef internal::conditional< internal::is_lvalue< MatrixType >::value, Scalar, constScalar >::type | ScalarWithConstIfNotLvalue |
Public Member Functions | |
| EIGEN_DEVICE_FUNC | Diagonal (MatrixType &matrix, Index a_index=DiagIndex) |
| EIGEN_DEVICE_FUNC Index | rows () const |
| EIGEN_DEVICE_FUNC Index | cols () const |
| EIGEN_DEVICE_FUNC Index | innerStride () const |
| EIGEN_DEVICE_FUNC Index | outerStride () const |
| EIGEN_DEVICE_FUNC ScalarWithConstIfNotLvalue * | data () |
| EIGEN_DEVICE_FUNC const Scalar * | data () const |
| EIGEN_DEVICE_FUNC Scalar & | coeffRef (Index row, Index) |
| EIGEN_DEVICE_FUNC const Scalar & | coeffRef (Index row, Index) const |
| EIGEN_DEVICE_FUNC CoeffReturnType | coeff (Index row, Index) const |
| EIGEN_DEVICE_FUNC Scalar & | coeffRef (Index idx) |
| EIGEN_DEVICE_FUNC const Scalar & | coeffRef (Index idx) const |
| EIGEN_DEVICE_FUNC CoeffReturnType | coeff (Index idx) const |
| EIGEN_DEVICE_FUNC const internal::remove_all< typenameMatrixType::Nested >::type & | nestedExpression () const |
| EIGEN_DEVICE_FUNC Index | index () const |
Protected Attributes | |
| internal::ref_selector< MatrixType >::non_const_type | m_matrix |
| const internal::variable_if_dynamicindex< Index, DiagIndex > | m_index |
Private Member Functions | |
| EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index | absDiagIndex () const |
| EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index | rowOffset () const |
| EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index | colOffset () const |
| template<int LoadMode> | |
| MatrixType::PacketReturnType | packet (Index) const |
| template<int LoadMode> | |
| MatrixType::PacketReturnType | packet (Index, Index) const |
Expression of a diagonal/subdiagonal/superdiagonal in a matrix.
| MatrixType | the type of the object in which we are taking a sub/main/super diagonal |
| DiagIndex | the index of the sub/super diagonal. The default is 0 and it means the main diagonal. A positive value means a superdiagonal, a negative value means a subdiagonal. You can also use DynamicIndex so the index can be set at runtime. |
The matrix is not required to be square.
This class represents an expression of the main diagonal, or any sub/super diagonal of a square matrix. It is the return type of MatrixBase::diagonal() and MatrixBase::diagonal(Index) and most of the time this is the only way it is used.
| typedef internal::dense_xpr_base<Diagonal>::type Eigen::Diagonal< MatrixType, _DiagIndex >::Base |
| typedef internal::conditional<internal::is_lvalue<MatrixType>::value,Scalar,constScalar>::type Eigen::Diagonal< MatrixType, _DiagIndex >::ScalarWithConstIfNotLvalue |
| anonymous enum |
| Enumerator | |
|---|---|
| DiagIndex | |
|
inlineexplicit |
References eigen_assert.
|
inlineprivate |
References Eigen::internal::variable_if_dynamicindex< T, Value >::value().
Here is the call graph for this function:
|
inline |
|
inline |
|
inline |
References EIGEN_STATIC_ASSERT_LVALUE.
|
inline |
|
inline |
References EIGEN_STATIC_ASSERT_LVALUE, and row().
Here is the call graph for this function:
|
inline |
|
inlineprivate |
References Eigen::internal::variable_if_dynamicindex< T, Value >::value().
Here is the call graph for this function:
|
inline |
Referenced by Eigen::internal::trmv_selector< Mode, RowMajor >::run().
Here is the caller graph for this function:
|
inline |
Referenced by Eigen::internal::trmv_selector< Mode, RowMajor >::run().
Here is the caller graph for this function:
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by Eigen::internal::trmv_selector< Mode, RowMajor >::run().
Here is the caller graph for this function:
|
private |
|
private |
|
inlineprivate |
References Eigen::internal::variable_if_dynamicindex< T, Value >::value().
Here is the call graph for this function:
|
inline |
Referenced by Eigen::internal::trmv_selector< Mode, RowMajor >::run().
Here is the caller graph for this function:
|
protected |
|
protected |