Closed KlausC closed 1 year ago
Thanks for reporting this, I'm suprised the Base
method does not call convert
instead of the constructor. It should be fixed by https://github.com/JuliaAlgebra/MultivariatePolynomials.jl/pull/246
Not that inv
will still not work because abs
is not defined.
You should use the Cramer rule. We could add an implementation in this package
IMO Cramer's rule is not worth while. In my experience it is sufficient to define abs(p::RationalPoly) = float(!iszero(p))
or similar to allow for "pivotized" LU decompostion.
Yes, that could also work, we can't define this here since it would lead to confusing behavior for other use cases though