Boost logo

Ublas :

Subject: Re: [ublas] [bindings] Workspaces
From: Karl Meerbergen (karl.meerbergen_at_[hidden])
Date: 2008-12-12 04:39:28


Rutger ter Borg wrote:
> I agree. Whatever interface we end up with, if a user can pass
>
> lapack::function( ..., optimal_workspace() );
> lapack::function( ..., minimal_workspace() );
> lapack::function( ..., workspace( a ) );
> lapack::function( ..., workspace( a, b ) );
> lapack::function( ..., workspace( a, b, c ) );
>
> would be clean and consistent to me. We might also consider to make the
> order of arguments passed to workspace arbitrary, by adding different
> retrieve methods for each value_type into the workspace1 ... workspace3
> classes.
>

I have thought of that. Since the value_type of the arrays are fixed
anyway that should be quite easy to do.

> Cheers,
>
> Rutger
>
>
> Karl Meerbergen wrote:
>
>> Yesterday, I suggested to add workspace3. No reactions so far. I have
>> started the implementation in boost.sandbox, but I want agreement with
>> the ml before continuing.
>>
>>
>
>
> _______________________________________________
> ublas mailing list
> ublas_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/ublas
>