The Line function with protected variables


function LineWithProtected
  input Real x "Independent variable";
  input Real p0[2] "Coordinates for one point on the line";
  input Real p1[2] "Coordinates for another point on the line";
  output Real y "Value of y at the specified x";
end LineWithProtected;

Generated at 2020-07-06T01:52:11Z by OpenModelicaOpenModelica 1.16.0~dev-536-g79b093c using GenerateDoc.mos