32  const Eigen::SparseMatrix<AType> & A,
 
   37  for(
int k=0; k<A.outerSize(); ++k)
 
   40    for(
typename Eigen::SparseMatrix<AType>::InnerIterator it (A,k); it; ++it)
 
   42      func(it.row(),it.col(),it.value());
 
 
   49  const Eigen::DenseBase<DerivedA> & A,
 
   55    for(
typename DerivedA::Index i = 0;i<A.rows();i++)
 
   57      for(
typename DerivedA::Index j = 0;j<A.cols();j++)
 
   64    for(
typename DerivedA::Index j = 0;j<A.cols();j++)
 
   66      for(
typename DerivedA::Index i = 0;i<A.rows();i++)
 
 
void for_each(const Eigen::SparseMatrix< AType > &A, const Func &func)
FOR_EACH Call a given function for each non-zero (i.e., explicit value might actually be ==0) in a Sp...
Definition for_each.h:31