Functions Index :: M :: Mod2

[<< up one level]

Module:

numeric :: core

Definition:

Mod2(val x1, val x2)

Description:

Returns the remainder of the division of its arguments. [1]

Examples:

v = Mod2(7, 3) # v == 1

w = Mod2(1.1, 0.5) # w == 0.1

 

[<< top]

 


[1]: The function is provided as a building block of more complex functions, particularly for operations on arrays. See the documentation of the array package and the ArrayOpFunc, ArrayOpArrayFunc and ArraySum functions.