Boost logo

Ublas :

Subject: [ublas] vector generator
From: Matwey V. Kornilov (matwey.kornilov_at_[hidden])
Date: 2009-10-22 13:48:40

Hi all,

I tried to make vector object that acts like generator. It means that if
there is rule that associates value for any index uniquely, it isn't
necessary to store that values in the memory. I wrote simple generator in
order to research uBLAS abilities(in attach). I would like to get comments
on the code. It works perfectly for me but it is possible that it can be
made more general and there are some uBLAS tips I've missed.