![]() |
|
Kronecker tensor product helper class for sparse matrices. More...
#include <KroneckerTensorProduct.h>
Inheritance diagram for Eigen::KroneckerProductSparse< Lhs, Rhs >:Public Member Functions | |
| KroneckerProductSparse (const Lhs &A, const Rhs &B) | |
| Constructor. More... | |
| template<typename Dest > | |
| void | evalTo (Dest &dst) const |
| Evaluate the Kronecker tensor product. More... | |
Public Member Functions inherited from Eigen::KroneckerProductBase< KroneckerProductSparse< Lhs, Rhs > > | |
| KroneckerProductBase (const Lhs &A, const Rhs &B) | |
| Constructor. More... | |
| Index | rows () const |
| Index | cols () const |
| Scalar | coeff (Index row, Index col) const |
| Scalar | coeff (Index i) const |
Public Member Functions inherited from Eigen::ReturnByValue< Derived > | |
| template<typename Dest > | |
| EIGEN_DEVICE_FUNC void | evalTo (Dest &dst) const |
| EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index | rows () const EIGEN_NOEXCEPT |
| EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index | cols () const EIGEN_NOEXCEPT |
| const Unusable & | coeff (Index) const |
| const Unusable & | coeff (Index, Index) const |
| Unusable & | coeffRef (Index) |
| Unusable & | coeffRef (Index, Index) |
Private Types | |
| typedef KroneckerProductBase< KroneckerProductSparse > | Base |
Additional Inherited Members | |
Public Types inherited from Eigen::ReturnByValue< Derived > | |
| typedef internal::traits< Derived >::ReturnType | ReturnType |
| typedef internal::dense_xpr_base< ReturnByValue >::type | Base |
Protected Types inherited from Eigen::KroneckerProductBase< KroneckerProductSparse< Lhs, Rhs > > | |
| typedef Traits::Lhs | Lhs |
| typedef Traits::Rhs | Rhs |
Protected Attributes inherited from Eigen::KroneckerProductBase< KroneckerProductSparse< Lhs, Rhs > > | |
| Lhs::Nested | m_A |
| Rhs::Nested | m_B |
Kronecker tensor product helper class for sparse matrices.
If at least one of the operands is a sparse matrix expression, then this class is returned and evaluates into a sparse matrix.
This class is the return value of kroneckerProduct(EigenBase, EigenBase). Use the function rather than construct this class directly to avoid specifying template prarameters.
| Lhs | Type of the left-hand side, a matrix expression. |
| Rhs | Type of the rignt-hand side, a matrix expression. |
|
private |
|
inline |
Constructor.
| void Eigen::KroneckerProductSparse< Lhs, Rhs >::evalTo | ( | Dest & | dst | ) | const |
Evaluate the Kronecker tensor product.
References cols, Eigen::PlainObjectBase< Derived >::data(), i, j, rows, and oomph::PseudoSolidHelper::Zero.