Negative
Negative[expr]
Negative[expr] represents the minus operator applied to an expression expr.
Note
By default, Algebrakit converts expressions like -x to -1*x. This might influence the placement of the minus sign. You typically useNegative to enforce a specific placement of the minus sign within an expression.
| Example | in | rendered |
|---|---|---|
The constant -π. |
Negative[pi] |
-π |
The multiplication of 3 and -π. |
3 Negative[pi] |
3 * (-π) |