Neal Becker
2010-05-27 15:01:06 UTC
Tried subrange and project on a pyublas::matrix. Got:
[subrange]
cpm.cc:973: error: no matching function for call to
'subrange(pyublas::numpy_matrix<double,
boost::numeric::ublas::basic_row_major<long unsigned int, long int> >&, int,
size_t, int, size_t)'
[project]
cpm.cc:973: error: no matching function for call to
'project(pyublas::numpy_matrix<double,
boost::numeric::ublas::basic_row_major<long unsigned int, long int> >&,
boost::numeric::ublas::range, boost::numeric::ublas::range)'
I thought pyublas::numpy_matrix was a ublas::matrix and subrange should work.
No?
[subrange]
cpm.cc:973: error: no matching function for call to
'subrange(pyublas::numpy_matrix<double,
boost::numeric::ublas::basic_row_major<long unsigned int, long int> >&, int,
size_t, int, size_t)'
[project]
cpm.cc:973: error: no matching function for call to
'project(pyublas::numpy_matrix<double,
boost::numeric::ublas::basic_row_major<long unsigned int, long int> >&,
boost::numeric::ublas::range, boost::numeric::ublas::range)'
I thought pyublas::numpy_matrix was a ublas::matrix and subrange should work.
No?