Mod_octave | R Documentation |
Obtain the modulo of x and y in a manner compatible with GNU Octave/MATLAB.
Mod_octave(x, n)
x , n |
An R object (array, matrix, vector) |
Return the computed modulo of x and y.
Irucka Embry, Samit Basu (FreeMat)
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.
# 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.