Mod_octave {iemisc} | R Documentation |
Modulus Operation (GNU Octave/MATLAB compatible)
Description
Obtain the modulo of x and y in a manner compatible with GNU Octave/MATLAB.
Usage
Mod_octave(x, n)
Arguments
x , n |
An R object (array, matrix, vector) |
Value
Return the computed modulo of x and y.
Author(s)
Irucka Embry, Samit Basu (FreeMat)
References
Samit Basu (2002-2006). FreeMat v4.0, https://freemat.sourceforge.net/help/mathfunctions_mod.html.
John W. Eaton, David Bateman, Søren Hauberg, and Rik Wehbring (November 2022). GNU Octave: A high-level interactive language for numerical computations: Edition 7 for Octave version 7.3.0. https://docs.octave.org/octave.pdf. Page 564.
Examples
# Example from FreeMat
library(iemisc)
Mod_octave(18, 12)
# Please refer to the iemisc: Examples from GNU Octave Rem, Mod, and
# fractdiff Compatible Functions vignette for additional examples
[Package iemisc version 1.0.4 Index]