Boost logo

Ublas :

Subject: Re: [ublas] [bindings] LAPACK ?GESVD and minimum workspace size
From: sguazt (marco.guazzone_at_[hidden])
Date: 2011-04-08 05:07:05


On Fri, Apr 8, 2011 at 11:00 AM, Rutger ter Borg <rutger_at_[hidden]> wrote:
>
> On 2011-04-08 10:20, sguazt wrote:
>>
>> Maybe, just to cover all possible cases, we can just return 1 when at
>> least one the two dimensions is<= 0, that is:
>>
>> Now we should fix the complex case also ;)
>> After a look at the related subroutines:
>>   http://www.netlib.org/lapack/complex/cgesvd.f
>>   http://www.netlib.org/lapack/complex16/zgesvd.f
>>
>> I have obtained this set of conditions:
>>
>
> Thanks; added and committed. Negative sizes are not allowed and asserted
> against, so checking for zero should do the trick.
>
> Cheers,
>

Now it works for all 4 cases.

Thanks!!

Best,

-- Marco