.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-12-26T19:25:54Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos