JuliaAlgebra / MultivariatePolynomials.jl

Multivariate polynomials interface
https://juliaalgebra.github.io/MultivariatePolynomials.jl/stable/
Other
135 stars 27 forks source link

Update det.jl #168

Closed Timeroot closed 3 years ago

Timeroot commented 3 years ago

det(M) fails if M is a 1x1 matrix, in which case it should just return the one element of that matrix. This might seem like a strange application of det but arises naturally when e.g. computing minors of a matrix.