functionlinspaceRepeat_2Dedge

Create [m] linearly spaced 2D matrix stored in a [n1,n2,m] matrix from the linear interpolation of 4 edge values

Extends from Modelica.Icons.Function (Icon for functions).

Information

Inputs

TypeNameDefaultDescription
Real[:]x1Edge value x[1,:,m]
Real[:]x2Edge value x[end,:,m]
Real[:]x3Edge value x[:,1,m]
Real[:]x4Edge value x[:,end,m]
Integern1Number of rows
Integern2Number of columns
Boolean[4]exposeState{true, true, true, true}= true then set edge to value specified else linspace_1D

Outputs

TypeNameDefaultDescription
Real[n1,n2,size(x1, 1)]y3-D matrix of a repeated 2-D matrix