>>>> Could you please tell me what I would need to change to fix the
>>>> following little J program (e.g., how to replace %. with a call
>>>> to LAPACK)?

You should read

https://code.jsoftware.com/wiki/Vocabulary/LAPACK

~ Gilles

Le 2021-04-29 à 14:29, Henry Rich a écrit :
%. does not use SVD.  It does do QR decomposition followed by inverse.

You can call LAPACK to perform the SVD, but you might need to delete columns with low singular values.

Which routine you need to use depends on details of what you are going to do.

Henry Rich

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to