matrix icon indicating copy to clipboard operation
matrix copied to clipboard

Matrix manipulation and computation library

Results 19 matrix issues
Sort by recently updated
recently updated
newest added

Add Non-negative Matrix Factorization

Hi! I'm making a webpage where I'll need to calculate a pseudoinverse. However, I can't get the pseudoInverse function to work in a browser... Any suggestions would be extremely welcome!...

In nmr-processing package, the function simulate1D uses EVD with[ a sparse-matrix as input ](https://github.com/cheminfo/nmr-processing/blob/typescript/src/signals/simulation/simulate1D.ts#L121),

when performing the matrix calculation [[1, 2, 3], [4, 5, 6], [7, 8, 9]] The wrong result is returned.

My goal is to implement an equivalent to the LINEST function in excel. The goal is to calculate a mulitple linear regression for matrices that are potentially not full rank....

Can this do SVD on sparse representations?

`mmulStrassen` does not compute a matrix multiplication, as its name implies. ```js new Matrix([[1, 2]]).mmulStrassen(new Matrix([[1,2],[3,4]])).to2DArray() // returns [[7, 10], [0,0]] ``` The caller gets back a multiplication result, zero...

There is a very efficient and fast nnls called tnt-nn https://github.com/ProfMyre/tnt-nn is it possible to implement it ?

in EigenvalueDecomposition it would be nice to be able to retrieve only the first k eigenvalues & associated vectors, if it could save time and memory. I have no idea...

I'm using these two data sets in MLR, I noticed it causes the while loop on line 48 to never resolve (p never equals anything lower than 93). Apologies in...