Boost logo

Ublas :

From: Gunter Winkler (guwi17_at_[hidden])
Date: 2006-03-22 03:45:47


On Wednesday 22 March 2006 03:44, Manoj Rajagopalan wrote:
> Hi all,
>
> what is the difference between these two functions? Both return
> vector_slice instances. Is it just the way of specifying the slice?
>
> I have been working on some documentation and examples and I'd
> appreciate a speedy reply so that I can close this piece of work and
> send it out to all of you.

The use of project is the preferred way to create submatrices and subvectors.
These functions were created to give the user an easy way to extract pieces
of matrices/vectors without thinking about the correct types needed.

mfg
Gunter