Divides all the numbers passed as arguments in the order they are given.
The first number is the dividend; subsequent numbers are divisors.
Division by zero returns NaN.
Rest...operands: (number | number[])[]Numbers or arrays of numbers to divide sequentially.
The result of sequential division, or NaN on division by zero.
Subtracts all the numbers passed as arguments in the order they are given. Accepts any number of arguments, and all arguments should be numbers. The first number is the starting value; subsequent numbers are subtracted from it.
Rest...operands: (number | number[])[]Numbers or arrays of numbers to subtract sequentially.
The result of sequential subtraction.
Provides mathematical operations and transformations for use in HotMesh mapping rules. The functions facilitate a wide range of mathematical operations during the mapping process, all of which can be utilised through the
@pipesystem for a functional approach.Remarks
Methods are invoked with the syntax
{@math.<method>}, e.g.,{@math.add}or{@math.sqrt}.