Algosim documentation: /

/ (solidus)

The division operator.

Syntax

Description

If a is a number, vector, or matrix and b a non-zero number, then a/b is the mathematical quotient of a and b.

If a is a number, then the type of a/b is the most specific type possible.

Some examples:

If a is a vector or matrix, a / b is complex iff at least one of the operands is complex.

Examples

5892557464684800 / 27540
213963597120
652/14
326/7	(=46.5714285714)
π/3
1.0471975512	(=π/3)
i/3
0.333333333333⋅i
IdentityMatrix(5)/10
⎛0.1    0    0    0    0⎞
⎜  0  0.1    0    0    0⎟
⎜  0    0  0.1    0    0⎟
⎜  0    0    0  0.1    0⎟
⎝  0    0    0    0  0.1⎠

Notes

The binary operator / is mapped to the divide function.

See also