Boost logo

Ublas :

Subject: Re: [ublas] [bindings] LAPACK ?GESVD and minimum workspace size
From: Rutger ter Borg (rutger_at_[hidden])
Date: 2011-04-08 05:00:28


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,

RUtger