.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-11-22T19:25:38Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos