Hi all,

I was trying to figure out how does BackSolve work. Does anyone have experience on this?

I thought it should be solving M*x = b. (given M and b solve x)

https://developer.rhino3d.com/api/RhinoCommon/html/M_Rhino_Geometry_Matrix_BackSolve.htm

First reduce M to upper triangular with unit diagonal matrix.

M.RowReduce(0, b)

x = M.BackSolve(0, b)

and it suppose return x?, but it doesn’t seem to give me the correct result after comparing with MatLab solver.

Am I doing anything wrong? Is there any other better way of doing Matrix calculation in Rhino?

Regards,

Jason