10 #ifndef EIGEN_SPARSEREDUX_H 11 #define EIGEN_SPARSEREDUX_H 15 template<
typename Derived>
19 eigen_assert(rows()>0 && cols()>0 &&
"you are using a non initialized matrix");
22 for (
Index j=0; j<outerSize(); ++j)
28 template<
typename _Scalar,
int _Options,
typename _Index>
32 eigen_assert(rows()>0 && cols()>0 &&
"you are using a non initialized matrix");
33 if(this->isCompressed())
39 template<
typename _Scalar,
int _Options,
typename _Index>
43 eigen_assert(rows()>0 && cols()>0 &&
"you are using a non initialized matrix");
49 #endif // EIGEN_SPARSEREDUX_H
Eigen::Index Index
The interface type of indices.
internal::traits< CwiseBinaryOp< BinaryOp, Lhs, Rhs > >::Scalar Scalar
static ConstMapType Map(const Scalar *data)