Boost logo

Ublas :

Subject: Re: [ublas] bindings for matrix_vector_range, matrix_vector_slice, bounded_matrix, bounded_vector
From: Markus Rickert (rickert_at_[hidden])
Date: 2008-10-21 12:47:12


Hi,

> The report at
> http://www.cs.kuleuven.be/publicaties/rapporten/tw/TW506.abs.html
> doesn't mention stride1/stride2 functionality. I think the stride1/stride2 functionality is an implementation detail of ublas_matrix.hpp used to implement the "storage" functionality. Since ublas_vector2.hpp doesn't seem to depend on ublas_matrix.hpp, I don't think that it should have stride1/stride2 functionality.

I saw it listed in matrix_traits.hpp and found it rather useful while
creating bindings for the Intel IPP libraries (e.g. ippmMul_mt_64f()
with two vectors as input).

> The other points seem to be valid. Do you have some code that can be used to test that the bindings for matrix_vector_range, matrix_vector_slice, bounded_matrix and bounded_vector work as intended?

I've attached a selection of code to test these bindings. I hope this helps.

Markus