10#ifndef EIGEN_SPARSEREDUX_H
11#define EIGEN_SPARSEREDUX_H
15template<
typename Derived>
16typename internal::traits<Derived>::Scalar
19 eigen_assert(rows()>0 && cols()>0 &&
"you are using a non initialized matrix");
22 for (
Index j=0; j<outerSize(); ++j)
28template<
typename _Scalar,
int _Options,
typename _Index>
32 eigen_assert(rows()>0 && cols()>0 &&
"you are using a non initialized matrix");
33 if(this->isCompressed())
39template<
typename _Scalar,
int _Options,
typename _Index>
43 eigen_assert(rows()>0 && cols()>0 &&
"you are using a non initialized matrix");
#define eigen_assert(x)
Definition: Macros.h:1047
static ConstMapType Map(const Scalar *data)
Definition: PlainObjectBase.h:644
internal::traits< Derived >::Scalar Scalar
Definition: SparseMatrixBase.h:31
Scalar sum() const
Definition: SparseRedux.h:17
Scalar sum() const
Overloaded for performance.
Definition: SparseRedux.h:30
Scalar sum() const
Overloaded for performance.
Definition: SparseRedux.h:41
Namespace containing all symbols from the Eigen library.
Definition: Core:141
Eigen::Index Index
The interface type of indices.
Definition: EigenBase.h:39
Definition: CoreEvaluators.h:91
Definition: ForwardDeclarations.h:17