.TRANSFORM.Math.fillArray_1D

Information

For example:

For n=3, and val={-1,2,3,10}.

The returned matrix is y[3,4]

-1

2

3

10

-1

2

3

10

-1

2

3

10

Interface

function fillArray_1D
  extends TRANSFORM.Icons.Function;
  input Real val[:] "Array of values for use in fill";
  input Integer n "Array size (i.e., fill(val[i],n,n2))";
  output Real y[n, size(val, 1)] "Matrix";
end fillArray_1D;

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