sloisel / numeric

Numerical analysis in Javascript
http://www.numericjs.com/
Other
1.42k stars 177 forks source link

SVD to compute the k largest singular values #40

Open aneesha opened 11 years ago

aneesha commented 11 years ago

It would be useful to have the functionality to only return the k largest singular values when numeric.svd() is called.

Example: add a parameter the the svd function: numeric.svd(A,k) where A is the matrix and k is number of singular values to compute.