10#ifndef EIGEN_SPARSEPRODUCT_H
11#define EIGEN_SPARSEPRODUCT_H
26template<
typename Derived>
27template<
typename OtherDerived>
28inline const Product<Derived,OtherDerived,AliasFreeProduct>
37template<
typename Lhs,
typename Rhs,
int ProductType>
40 template<
typename Dest>
41 static void evalTo(
Dest&
dst,
const Lhs& lhs,
const Rhs& rhs)
43 evalTo(
dst, lhs, rhs,
typename evaluator_traits<Dest>::Shape());
47 template<
typename Dest,
typename ActualLhs>
48 static void addTo(
Dest&
dst,
const ActualLhs& lhs,
const Rhs& rhs,
int* =
typename enable_if<
is_same<
typename evaluator_traits<Dest>::Shape,
DenseShape>::value,
int*>::type(0) )
59 template<
typename Dest>
60 static void subTo(
Dest&
dst,
const Lhs& lhs,
const Rhs& rhs,
int* =
typename enable_if<
is_same<
typename evaluator_traits<Dest>::Shape,
DenseShape>::value,
int*>::type(0) )
62 addTo(
dst, -lhs, rhs);
68 template<
typename Dest>
80 template<
typename Dest>
89template<
typename Lhs,
typename Rhs,
int ProductType>
95template<
typename Lhs,
typename Rhs,
int ProductType>
101template<
typename DstXprType,
typename Lhs,
typename Rhs>
112template<
typename DstXprType,
typename Lhs,
typename Rhs>
123template<
typename DstXprType,
typename Lhs,
typename Rhs>
133template<
typename Lhs,
typename Rhs,
int Options>
135 :
public evaluator<typename Product<Lhs, Rhs, DefaultProduct>::PlainObject>
142 : m_result(
xpr.rows(),
xpr.cols())
145 ::new (
static_cast<Base*
>(
this))
Base(m_result);
153 abs(
xpr.reference())*
xpr.epsilon());
Expression of the product of two arbitrary matrices or vectors.
Definition Product.h:111
Pseudo expression representing a solving operation.
Definition Solve.h:63
Base class of any sparse matrices or sparse expressions.
Definition SparseMatrixBase.h:34
Definition SparseView.h:32
Definition Constants.h:511
Definition Constants.h:520
Definition AssignEvaluator.h:684
Definition SparseAssign.h:62
Definition SparseUtil.h:137
Definition AssignmentFunctors.h:42
Definition AssignmentFunctors.h:21
Definition ConservativeSparseSparseProduct.h:129
Definition CoreEvaluators.h:82
Definition ProductEvaluators.h:81
Definition SparseSparseProductWithPruning.h:83
Definition ConservativeSparseSparseProduct.h:297
Definition AssignmentFunctors.h:63