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
| Type | Name | Default | Description |
|---|---|---|---|
| Real[:] | x1 | Edge value x[1,:,m] | |
| Real[:] | x2 | Edge value x[end,:,m] | |
| Real[:] | x3 | Edge value x[:,1,m] | |
| Real[:] | x4 | Edge value x[:,end,m] | |
| Integer | n1 | Number of rows | |
| Integer | n2 | Number of columns | |
| Boolean[4] | exposeState | {true, true, true, true} | = true then set edge to value specified else linspace_1D |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real[n1,n2,size(x1, 1)] | y | 3-D matrix of a repeated 2-D matrix |