.BioChem.Math.piecewise

Information

Piecewise function that corresponds to the SBML piecewice definition

Interface

function piecewise
  input Real[:] value "Input values in the form {value1,value2,...,valueN,valueN+1}.";
  input Boolean[:] condition "Input conditions in the form {condition1,condition2,...,conditionN}. Not more than one condition is allowed to be true at any given time.";
  output Real y "Output value selected from the list of inputs.";
end piecewise;

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