Boost logo

Ublas :

Subject: Re: [ublas] [bindings] LAPACK ?GESVD and minimum workspace size
From: Rutger ter Borg (rutger_at_[hidden])
Date: 2011-04-07 07:26:36


On 04/07/2011 01:08 PM, sguazt wrote:
>>
>> minmn = min( m, n );
>> if ( jobu=='N' || jobvt == 'N' ) {
>> return 5 * minmn;
>> } else {
>> return max( 3 * minmn + max(m,n), 5 * minmn );
>> }
>>
>> ?
>
> Sure, your's definitively better!! :)
>
> Cheers,
>
> -- Marco

Looking at it a bit more, the first logical-or-condition is violating
the logic in your code, so it might be wrong. Is it?

Cheers,

Rutger