void Test()
{
boost::numeric::ublas::matrix<double> NewJ(32,32);
boost::numeric::ublas::matrix<double>::iterator1 itrNewJColumn = NewJ.begin1();
itrNewJColumn[2];
}
I would like access different columns of "NewJ" through the use of column iterators. However, when I try to compile this code, I get a compile error:
include\boost\numeric\ublas\iterator.hpp(1619) : error C2679: binary '+' : no operator found which takes a right-hand operand of type 'boost::numeric::ublas::indexed_iterator1<C,IC>::difference_type' (or there is no acceptable conversion)
What am I doing wrong or what am I missing.
I'm compiling with the VC7 compiler. I'm using version 1.32 of Boost.
Thanks for any help.