Navigation

Operators and Keywords

Function List:

C++ API

Mapping Function: rem (x, y)

Return the remainder of the division x / y.

The remainder is computed using the expression

x - y .* fix (x ./ y)

An error message is printed if the dimensions of the arguments do not agree, or if either of the arguments is complex.

See also: mod.

Package: octave