.FCSys.Utilities.mod1

Information

Examples:
mod1(4,3) returns 1. mod1(3,3) returns 3, but mod(3,3) returns 0 (where mod is the built-in modulo operator).

Interface

function mod1
  extends Modelica.Icons.Function;
  input Integer num "Dividend";
  input Integer den "Divisor";
  output Integer index "Remainder with 1-based indexing";
end mod1;

Generated at 2024-04-25T18:15:59Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos