.Spot.Base.Math.sign_lt

Information

Calculates the "sign" function

  sig = -1 if x[k] <  b else 0
component-wise.

Interface

function sign_lt
  extends Icons.Function;
  input Real[:] x "argument";
  input Real b(min = 0) "threshold value";
  output Real[size(x, 1)] y "characteristic function of x < b";
end sign_lt;

Generated at 2024-11-23T19:25:52Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos