Boost logo

Ublas :

From: Gunter Winkler (guwi17_at_[hidden])
Date: 2008-02-17 16:00:48

Benny Buerger schrieb:
> Hi,
> I'm a ublas newbie and have a basic question about memory allocation
> with ublas. Is it valid to assign a matrix in a local function and then
> use it in other functions, or do I have to use pointers?
You can use an ublas matrix like any other type. By default the matrix
handles all memory allocation by itself, so there is no need use pointers.