Boost logo

Ublas :

Subject: Re: [ublas] Question (one more) about stack arrays and matrices
From: Rutger ter Borg (rutger_at_[hidden])
Date: 2010-11-04 07:31:11


On 11/04/2010 09:34 AM, Riccardo Rossi wrote:
>
> boost::numeric::ublas::bounded_matrix<double,3,2> A ... this is the
> ublas's bounded matrix...but to be honest i don't understand if
> internally it is allocated on the stack or on the heap(...i mean..using
> new or malloc)

it's allocated on the stack, see storage.hpp around line 467

Cheers,

Rutger