irem

Remainder after division with dividend's sign (complexified version of rem).

Back to Numerical Differentiation Toolbox Contents.

Contents

Syntax

r = irem(a,n)

Description

r = irem(a,n) returns the remainder, $r$, after division of $a$ by $n$ (with $a$'s sign). Note that $a$ can be complex, but it is assumed that $n$ is real.

Input/Output Parameters

Variable Symbol Description Format Units
Input a dividend 1×1
complex
-
n divisor 1×1
double
-
Output r remainder of (with dividend's sign) 1×1
complex
-

See also

rem