3 ms·
Matrix Operations with Math.js
- dleeftink 3y agoNice write-up. If you require additional performance, use ndarray or GPU.js (or try out taichi.js if WebGPU is available). Hamsters.js can also provide speedups, given you can translate your problem into a 'threaded' task.
- tthheeoo 3y agoI have never heard of matrix division. What is it?
- xeonmc 3y agoMay be matrix inverse? y = Mx —> x = M\y
- thangngoc89 3y agoYeah me too. I'm about to ask this exact question after reading the post. I only know matrix add, subtract, and multiply.
- Aardwolf 3y agoIt's to multiply a matrix by the inverse of another. There's left and right division depending on which side is inverted There are many more matrix operations that actually exist: matrix exponential, matrix log, matrix trig functions, matrix square root, ... E.g. exponential has an infinite series representation exp(x) = SUM_k x^k / k!: it works for matrices too, and is used
- naillo 3y agoSee also https://en.wikipedia.org/wiki/Analytic_function_of_a_matrix https://en.wikipedia.org/wiki/Analytic_function_of_a_matrix
- deleted 3y ago[deleted]
- solarkraft 3y agoI often wish the Matrix protocol was named differently.