uBLAS defines the slice constructor:
slice (start, stride, size)
This is very unfortunate as valarray defines:
slice (start, size, stride)
Solution is to change uBLAS. This would SILENTLY break
any existing code.
To make the change clear at compile time. The new slice
should have a different name and the old deprecated.
Anonymous
Logged In: YES
user_id=556024
Medium term solution would be to introduce two
new slices.
aslice (start, size, stride)
bslice (start, end, stride)
At the same time a
arange (start,size) could be added