Hi Alexey, you wrote: [snip]
Which compiler are you using?
VC++ 7.1
Sorry, I should have concluded that from one of your earlier postings.
Do somebody help my to write this code correctly? Or fix library?
How?
1. Add "typedef self_type matrix_type;" in definition of class matrix
I'm unsure about this one: matrix_type currently describes the type of a referenced matrix for matrix proxies. What should the new definition be?
2. Add template<class M> BOOST_UBLAS_INLINE matrix_range<M> project (matrix_range<M> &data, const range &r1, const range &r2) { return data.project (r1, r2); } in matix_proxy.hpp (ver. 1.12) on line 3585.
Added that one (the omission is probably a bug).
It may be need to add the same code for other proxy types .
And these.
After those changes my code shown above compiles correctly and even runs. ;)
My current iteration is:
----------
#include