On 2023-09-30 at 17:07:20 -0700, systemdl...@fastmail.com wrote:
> Could you provide an example of how to call the polyroots() function in
> PDL::Math?
>
> In Math::Polynomial, I can solve the roots for something like 'x^3 - x^2
> + 4x + 4' by calling its routine:
>
> my(@roots) =
Could you provide an example of how to call the polyroots() function in
PDL::Math?
In Math::Polynomial, I can solve the roots for something like 'x^3 - x^2
+ 4x + 4' by calling its routine:
my(@roots) = poly_roots(1,1,4,4);
which will return the roots of that equation in a perl list, @roots,