Solve set of linear equations with javascript [clo

2019-03-18 23:08发布

问题:

What is the best way to solve sets of linear equations using JavaScript?

I would like to find a solution for vector r

M*r = b

where M is a Matrix and b is a vector.

I understand that JavaScript isn't the best computational language, i'm simply hoping to implement my algorithm in JS for rapid prototyping.

Any references to other questions or help would be awesome! thanks in advance.