compbio
|
Kronecker tensor product helper class for sparse matrices. More...
#include <KroneckerTensorProduct.h>
Public Member Functions | |
KroneckerProductSparse (const Lhs &A, const Rhs &B) | |
Constructor. | |
template<typename Dest > | |
void | evalTo (Dest &dst) const |
Evaluate the Kronecker tensor product. | |
![]() | |
KroneckerProductBase (const Lhs &A, const Rhs &B) | |
Constructor. | |
Index | rows () const |
Index | cols () const |
Scalar | coeff (Index row, Index col) const |
Scalar | coeff (Index i) const |
![]() | |
EIGEN_DEVICE_FUNC void | evalTo (Dest &dst) const |
EIGEN_DEVICE_FUNC Index | rows () const |
EIGEN_DEVICE_FUNC Index | cols () const |
const Unusable & | coeff (Index) const |
const Unusable & | coeff (Index, Index) const |
Unusable & | coeffRef (Index) |
Unusable & | coeffRef (Index, Index) |
Additional Inherited Members | |
![]() | |
typedef internal::traits< KroneckerProductSparse< Lhs, Rhs > >::ReturnType | ReturnType |
typedef internal::dense_xpr_base< ReturnByValue >::type | Base |
![]() | |
typedef Traits::Lhs | Lhs |
typedef Traits::Rhs | 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. |