Function reference · Math
abs
Returns the absolute value of an expression.
It drops the abs when the sign is known: from numbers, even powers, or assumptions. Otherwise it stays. For a complex number it is the modulus.
Notation
abs(x)
Write it in an expression: nerdamer('abs(-5)'), or in the Playground.
nerdamer.abs
nerdamer.abs(x: ExpressionInput): Expression
A method on the default import. Arguments can be strings, as in Notation.
Examples
Also called
magnitude
