diff options
author | Chen-Pang He <jdh8@ms63.hinet.net> | 2012-10-15 00:31:09 +0800 |
---|---|---|
committer | Chen-Pang He <jdh8@ms63.hinet.net> | 2012-10-15 00:31:09 +0800 |
commit | 8284e7134b59bb8d4307d1207cc4bea5c68d5674 (patch) | |
tree | a3236834ec647dcdfab5ad31ac324bccf7c598d1 /unsupported/Eigen/src/KroneckerProduct | |
parent | c4b83461d97a2520fecc00f647ca2ae9c4bf04d2 (diff) |
Add doc for KroneckerProductSparse.
Diffstat (limited to 'unsupported/Eigen/src/KroneckerProduct')
-rw-r--r-- | unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h b/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h index a7cb5215b..c33d8f0ce 100644 --- a/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h +++ b/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h @@ -122,6 +122,19 @@ class KroneckerProduct : public MatrixBase<KroneckerProduct<Lhs,Rhs> > typename Rhs::Nested m_B; }; +/*! + * \brief 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. + * + * \tparam Lhs Type of the left-hand side, a matrix expression. + * \tparam Rhs Type of the rignt-hand side, a matrix expression. + */ template<typename Lhs, typename Rhs> class KroneckerProductSparse : public SparseMatrixBase<KroneckerProductSparse<Lhs,Rhs> > { |