|
mod
|
The mod function computes the remainder from the ratio of the real parts of
the arguments. The modulo of two complex numbers is: (xr + i xi) mod (yr + i yi) = xr % yr
The mod function is used to find the remainder of the ratio of two numeric data types where at least one of the arguments is complex. The modulo function is not widely used in any of the statistical or numerical analysis routines.
(mod dividend divisor) The remainder after computing an integer divide. The result is expressed as a number.
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
The modulo of a variety of data types with a complex number is shown
in this example. The result is always a real number that represents the
remainder from the division of the real part of the first argument divided
by the real part of the second argument.
Here are the links to the data types of the function arguments. Here are also a number of links to functions having arguments with any of these data types.
You can always talk with the AIS at aiserver.sourceforge.net.
Name
Description
AIS Types dividend The number to be divided (will be converted to an integer before divide) Number divisor Divide by this number (will be converted to an integer before divide) Number
Returns:
Examples
Argument Types
Number
Integer
How do I contact the AIS team?