You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/[...]/node_modules/sylvester/lib/node-sylvester
/matrix.js:60
var e = S.triu(1).unroll().norm();
^
TypeError: Cannot call method 'triu' of null
at Object.svdJs (/[...]/node_modules/sylvester
/lib/node-sylvester/matrix.js:60:15)
Error summary: it breaks because of a null value being returned by qrJs, which in turn starts with the R matrix being null at some point. That comes from identSize.
However, it's mostly just an issue notification. I personally needed to have reliable and fast svd, so I used SVDLIBC and bound it as a C++ module (see node-svd). You may look at SVDLIBC if you think it can help you with svd / qr processing.
The text was updated successfully, but these errors were encountered:
See NaturalNode/node-lapack#2
Using the following on matlab / octave:
I obtain:
Now with the js implementation:
I obtain nothing because it crashes:
Error summary: it breaks because of a null value being returned by qrJs, which in turn starts with the R matrix being null at some point. That comes from identSize.
However, it's mostly just an issue notification. I personally needed to have reliable and fast svd, so I used SVDLIBC and bound it as a C++ module (see node-svd). You may look at SVDLIBC if you think it can help you with svd / qr processing.
The text was updated successfully, but these errors were encountered: