remainder
Overloads
| Name | Description |
|---|---|
remainder(const integer arr, const IntegerArray m) -> IntegerArray | Computes the remainder after division of a by m, where a is the dividend and m is the divisor. Note that nonzero results have the same sign as the dividend. This function is equivalent to a - m * fix(a / m). |
remainder(const integer arr, const RealArray m) -> RealArray | Computes the remainder after division of a by m, where a is the dividend and m is the divisor. Note that nonzero results have the same sign as the dividend. This function is equivalent to a - m * fix(a / m). |
remainder(const IntegerArray arr, const IntegerArray m) -> IntegerArray | Computes the remainder after division of a by m, where a is the dividend and m is the divisor. Note that nonzero results have the same sign as the dividend. This function is equivalent to a - m * fix(a / m). |
remainder(const real arr, const RealArray m) -> RealArray | Computes the remainder after division of a by m, where a is the dividend and m is the divisor. Note that nonzero results have the same sign as the dividend. This function is equivalent to a - m * fix(a / m). |
remainder(const bool arr, const IntegerArray m) -> IntegerArray | Computes the remainder after division of a by m, where a is the dividend and m is the divisor. Note that nonzero results have the same sign as the dividend. This function is equivalent to a - m * fix(a / m). |
remainder(const bool arr, const RealArray m) -> RealArray | Computes the remainder after division of a by m, where a is the dividend and m is the divisor. Note that nonzero results have the same sign as the dividend. This function is equivalent to a - m * fix(a / m). |
remainder(const IntegerArray arr, const integer m) -> IntegerArray | Computes the remainder after division of a by m, where a is the dividend and m is the divisor. Note that nonzero results have the same sign as the dividend. This function is equivalent to a - m * fix(a / m). |
remainder(const IntegerArray arr, const bool m) -> IntegerArray | Computes the remainder after division of a by m, where a is the dividend and m is the divisor. Note that nonzero results have the same sign as the dividend. This function is equivalent to a - m * fix(a / m). |
remainder(const RealArray arr, const integer m) -> RealArray | Computes the remainder after division of a by m, where a is the dividend and m is the divisor. Note that nonzero results have the same sign as the dividend. This function is equivalent to a - m * fix(a / m). |
remainder(const RealArray arr, const real m) -> RealArray | Computes the remainder after division of a by m, where a is the dividend and m is the divisor. Note that nonzero results have the same sign as the dividend. This function is equivalent to a - m * fix(a / m). |
remainder(const RealArray arr, const bool m) -> RealArray | Computes the remainder after division of a by m, where a is the dividend and m is the divisor. Note that nonzero results have the same sign as the dividend. This function is equivalent to a - m * fix(a / m). |
remainder(const RealArray arr, const RealArray m) -> RealArray | Computes the remainder after division of a by m, where a is the dividend and m is the divisor. Note that nonzero results have the same sign as the dividend. This function is equivalent to a - m * fix(a / m). |
remainder(const integer arr, const IntegerArray m) -> IntegerArray
Computes the remainder after division of a by m, where a is the dividend and m is the divisor. Note that nonzero results have the same sign as the dividend. This function is equivalent to a - m * fix(a / m).
Parameters
- arr: The array or scalar dividend.
- m: The array or scalar divisor.
remainder(const integer arr, const RealArray m) -> RealArray
Computes the remainder after division of a by m, where a is the dividend and m is the divisor. Note that nonzero results have the same sign as the dividend. This function is equivalent to a - m * fix(a / m).
Parameters
- arr: The array or scalar dividend.
- m: The array or scalar divisor.
remainder(const IntegerArray arr, const IntegerArray m) -> IntegerArray
Computes the remainder after division of a by m, where a is the dividend and m is the divisor. Note that nonzero results have the same sign as the dividend. This function is equivalent to a - m * fix(a / m).
Parameters
- arr: The array or scalar dividend.
- m: The array or scalar divisor.
remainder(const real arr, const RealArray m) -> RealArray
Computes the remainder after division of a by m, where a is the dividend and m is the divisor. Note that nonzero results have the same sign as the dividend. This function is equivalent to a - m * fix(a / m).
Parameters
- arr: The array or scalar dividend.
- m: The array or scalar divisor.
remainder(const bool arr, const IntegerArray m) -> IntegerArray
Computes the remainder after division of a by m, where a is the dividend and m is the divisor. Note that nonzero results have the same sign as the dividend. This function is equivalent to a - m * fix(a / m).
Parameters
- arr: The array or scalar dividend.
- m: The array or scalar divisor.
remainder(const bool arr, const RealArray m) -> RealArray
Computes the remainder after division of a by m, where a is the dividend and m is the divisor. Note that nonzero results have the same sign as the dividend. This function is equivalent to a - m * fix(a / m).
Parameters
- arr: The array or scalar dividend.
- m: The array or scalar divisor.
remainder(const IntegerArray arr, const integer m) -> IntegerArray
Computes the remainder after division of a by m, where a is the dividend and m is the divisor. Note that nonzero results have the same sign as the dividend. This function is equivalent to a - m * fix(a / m).
Parameters
- arr: The array or scalar dividend.
- m: The array or scalar divisor.
remainder(const IntegerArray arr, const bool m) -> IntegerArray
Computes the remainder after division of a by m, where a is the dividend and m is the divisor. Note that nonzero results have the same sign as the dividend. This function is equivalent to a - m * fix(a / m).
Parameters
- arr: The array or scalar dividend.
- m: The array or scalar divisor.
remainder(const RealArray arr, const integer m) -> RealArray
Computes the remainder after division of a by m, where a is the dividend and m is the divisor. Note that nonzero results have the same sign as the dividend. This function is equivalent to a - m * fix(a / m).
Parameters
- arr: The array or scalar dividend.
- m: The array or scalar divisor.
remainder(const RealArray arr, const real m) -> RealArray
Computes the remainder after division of a by m, where a is the dividend and m is the divisor. Note that nonzero results have the same sign as the dividend. This function is equivalent to a - m * fix(a / m).
Parameters
- arr: The array or scalar dividend.
- m: The array or scalar divisor.
remainder(const RealArray arr, const bool m) -> RealArray
Computes the remainder after division of a by m, where a is the dividend and m is the divisor. Note that nonzero results have the same sign as the dividend. This function is equivalent to a - m * fix(a / m).
Parameters
- arr: The array or scalar dividend.
- m: The array or scalar divisor.
remainder(const RealArray arr, const RealArray m) -> RealArray
Computes the remainder after division of a by m, where a is the dividend and m is the divisor. Note that nonzero results have the same sign as the dividend. This function is equivalent to a - m * fix(a / m).
Parameters
- arr: The array or scalar dividend.
- m: The array or scalar divisor.