Eigen::KroneckerProductSparse< Lhs, Rhs > Class Template Reference

Detailed Description

template<typename Lhs, typename Rhs>
class Eigen::KroneckerProductSparse< Lhs, Rhs >

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.

Template Parameters
LhsType of the left-hand side, a matrix expression.
RhsType of the rignt-hand side, a matrix expression.
+ Inheritance diagram for Eigen::KroneckerProductSparse< Lhs, Rhs >:

Public Member Functions

Scalar coeff (Index row, Index col) const
 
Scalar coeff (Index i) const
 
template<typename Dest >
void evalTo (Dest &dst) const
 Evaluate the Kronecker tensor product.
 
 KroneckerProductSparse (const Lhs &A, const Rhs &B)
 Constructor.
 

Member Function Documentation

Scalar Eigen::KroneckerProductBase< KroneckerProductSparse< Lhs, Rhs > >::coeff ( Index  row,
Index  col 
) const
inlineinherited

This overrides ReturnByValue::coeff because this function is efficient enough.

Scalar Eigen::KroneckerProductBase< KroneckerProductSparse< Lhs, Rhs > >::coeff ( Index  i) const
inlineinherited

This overrides ReturnByValue::coeff because this function is efficient enough.


The documentation for this class was generated from the following file: