next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Macaulay2Doc :: determinant(...,Strategy=>...)

determinant(...,Strategy=>...) -- choose between Bareiss and Cofactor algorithms



The ring of M determines the default strategy. If the ring is a polynomial ring or a field (as identified by isField) then the Bareiss algorithm is used. If the ring is a quotient ring (which has not been declared a field by toField), then the Cofactor algorithm is used.

Further information


The Bareiss algorithm returns a ring element that may differ from the actual determinant by a zero divisor in the ring. Thus, an incorrect answer may be computed if the ring contains zero divisors.

See also

Functions with optional argument named Strategy :