return(~A*A)**-1*~A*Y;// Solve Y=AX for X using the pseudo-inverse.
})
toMatrix=X=>[[X.s,X.e1],[-X.e1,X.s]]
JSON.stringify(
Algebra().Mul(AR,toMatrix(X))
,undefined,2)
JSON.stringify(
C.Mul(A,X).map(x=>[x[0].s,x[0].e1])
,undefined,2)
Purpose-built for displays of data
Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.