Macaulay2 » Documentation
Packages » Divisor :: Safe
next | previous | forward | backward | up | index | toc

Safe -- an option used to tell functions whether not to do checks.

Description

If set to true, then certain functions will perform checks to make sure the user didn't pass something unreasonable. You can use isWellDefined to ensure that a constructed divisor is constructed correctly.

See also

Functions with optional argument named Safe:

  • applyToCoefficients(...,Safe=>...) -- see applyToCoefficients -- apply a function to the coefficients of a divisor
  • getLinearDiophantineSolution(...,Safe=>...) -- see getLinearDiophantineSolution -- find a solution of the linear Diophantine equation Ax = b

For the programmer

The object Safe is a symbol.


The source of this document is in Divisor.m2:2017:0.