10 #ifndef EIGEN_SPARSEREDUX_H
11 #define EIGEN_SPARSEREDUX_H
17 template<
typename Derived>
18 typename internal::traits<Derived>::Scalar
23 internal::evaluator<Derived> thisEval(derived());
25 for (
typename internal::evaluator<Derived>::InnerIterator iter(thisEval,
j); iter; ++iter)
30 template<
typename Scalar_,
int Options_,
typename Index_>
31 typename internal::traits<SparseMatrix<Scalar_,Options_,Index_> >::Scalar
35 if(this->isCompressed())
41 template<
typename Scalar_,
int Options_,
typename Index_>
42 typename internal::traits<SparseVector<Scalar_,Options_, Index_> >::Scalar
cout<< "Here is the matrix m:"<< endl<< m<< endl;Matrix< ptrdiff_t, 3, 1 > res
static ConstMapType Map(const Scalar *data)
internal::traits< Derived >::Scalar Scalar
Eigen::Index Index
The interface type of indices.