UNPKG

ziko

Version:

a versatile javaScript framework offering a rich set of UI components, advanced mathematical utilities, reactivity, animations, client side routing and graphics capabilities

10 lines 252 B
import { Matrix } from "./Matrix.js"; class LinearSystem { static resolve(A, B) { return A.inv .dot(Matrix.fromVector(B)) .arr.flat(1) .map((n) => +n.toFixed(10)); } } export { LinearSystem }