Packs a scalar array in a matrix. For example, a scalar array with four values can be packed into a 2x2 matrix.
int32 PackScalarArrayInMatrix( Float32Iterator first, Float32Iterator last, Float32Iterator dst, int32 p_nCols, int32 p_nRows, int32 p_bRowMajor )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<Float32Iterator> | first | An iterator at the start of the source range. |
<Float32Iterator> | last | An iterator at the end of the source range. |
<Float32Iterator> | dst | An iterator at the start of the destination range. |
int32 | p_nCols | The number of columns in the matrix. |
int32 | p_nRows | The number of rows in the matrix. |
int32 | p_bRowMajor | If true, the matrix is written in row order. Otherwise the matrix is written in column order. |
None published. Please look for an example in the Scenome Scripting Language code base.