functionlinspace_2Dedge

Create a linearly spaced 2D matrix from the linear interpolation of 4 edge values

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

Information

Inputs

TypeNameDefaultDescription
Realx1Edge value x[1,:]
Realx2Edge value x[end,:]
Realx3Edge value x[:,1]
Realx4Edge value x[:,end]
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]y2-D matrix