math
Overview
This machine provides functionality for working with basic mathematical functions.
Functions in the math/ops module are supported by infix operators.
Modules
ops
Basic arithmetic operations defined on scalar and matrix input for multiple numeric datatypes.
Operator | Function | Description |
|---|---|---|
| Adds two operands. | |
| Subtracts second operand from the first. | |
| Multiplies two operands. | |
| Divides first operand by the second. | |
| Raises first operand to the power of the second. | |
| Computes the modulus of the first operand by the second. | |
| Negates the operand. |