stdlib
stdlib copied to clipboard
svd - check the size of storage space
The procedure gesdd
might return values for storage space larger than huge(lwork)
, resulting in a negative value fro lwork
. Here is a proposition to solve this issue.