There's more than one way to do things | |
PerlMonks |
Re^2: How would you solve a user-inputted simple one-variable Linear Equationby etj (Deacon) |
on May 20, 2022 at 14:37 UTC ( [id://11144026]=note: print w/replies, xml ) | Need Help?? |
PDL does have a binding to "the" solver library, LAPACK (linear algebra package): PDL::LinearAlgebra. The msolve function is almost certainly what you want. See the doc for PDL::MatrixOps/lu_backsub for a quick comparison of other linear algebra libraries in the PDLverse.
In Section
Seekers of Perl Wisdom
|
|