functionfillArray_1D
create a matrix from an array of values (i.e., fill(val[:],n)) for 1 dimension
Extends from TRANSFORM.Icons.Function (Icon for functions).
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 |
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real[:] | val | Array of values for use in fill | |
| Integer | n | Array size (i.e., fill(val[i],n,n2)) |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real[n,size(val, 1)] | y | Matrix |