Kronecker tensor product helper class for sparse matrices. More...
#include <KroneckerTensorProduct.h>
Public Member Functions | |
template<typename Dest > | |
void | evalTo (Dest &dst) const |
Evaluate the Kronecker tensor product. More... | |
KroneckerProductSparse (const Lhs &A, const Rhs &B) | |
Constructor. More... | |
Public Member Functions inherited from Eigen::KroneckerProductBase< KroneckerProductSparse< Lhs, Rhs > > | |
Scalar | coeff (Index row, Index col) const |
Scalar | coeff (Index i) const |
Index | cols () const |
KroneckerProductBase (const Lhs &A, const Rhs &B) | |
Constructor. More... | |
Index | rows () const |
Public Member Functions inherited from Eigen::ReturnByValue< KroneckerProductSparse< Lhs, Rhs > > | |
const Unusable & | coeff (Index) const |
const Unusable & | coeff (Index, Index) const |
Unusable & | coeffRef (Index) |
Unusable & | coeffRef (Index, Index) |
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index | cols () const EIGEN_NOEXCEPT |
EIGEN_DEVICE_FUNC void | evalTo (Dest &dst) const |
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index | rows () const EIGEN_NOEXCEPT |
Private Types | |
typedef KroneckerProductBase< KroneckerProductSparse > | Base |
Additional Inherited Members | |
Public Types inherited from Eigen::ReturnByValue< KroneckerProductSparse< Lhs, Rhs > > | |
typedef internal::dense_xpr_base< ReturnByValue >::type | Base |
typedef internal::traits< KroneckerProductSparse< Lhs, Rhs > >::ReturnType | ReturnType |
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. |
Definition at line 115 of file KroneckerTensorProduct.h.
|
private |
Definition at line 118 of file KroneckerTensorProduct.h.
|
inline |
Constructor.
Definition at line 124 of file KroneckerTensorProduct.h.
void Eigen::KroneckerProductSparse< Lhs, Rhs >::evalTo | ( | Dest & | dst | ) | const |
Evaluate the Kronecker tensor product.
Definition at line 147 of file KroneckerTensorProduct.h.