[eigen] sparse colwise

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


Hi Guys,

On the development branch,

#include "Eigen/Core"
#include "Eigen/Sparse"

using namespace Eigen;
int main() {
Matrix<double, Dynamic, Dynamic, ColMajor> m1(5,5);
SparseMatrix<double, ColMajor> m2(5,5);
m1.colwise().sum();
m2.colwise().sum()  // Fails to compile
}

fails to compile with

'class Eigen::SparseMatrix<double, 0, int>' has no member named 'colwise'

am I missing something here?
Sameer



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/