.TRANSFORM.Math.linspace_1D

Information

Create a linearly spaced 1D array and the special case when n = 1 the average is returned

Interface

function linspace_1D
  extends TRANSFORM.Icons.Function;
  input Real x1 "Corner value x[1]";
  input Real x2 "Corner value x[end]";
  input Integer n "Array size";
  output Real y[n] "Array";
end linspace_1D;

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