The Language-Integrated Quantum Operations (LIQUi|>) Simulator
CMatCreMat Method |
Creates an array that can be filled in and passed to the
array-based CMat constructor.
Namespace: Microsoft.Research.Liquid
Assembly: Liquid1 (in Liquid1.dll) Version: 1.0.5981.24943 (1.0.*)

F#
static member CreMat : lenR : int * lenC : int * f : FSharpFunc<int, FSharpFunc<int, float>> -> float[][]
Parameters
- lenR
- Type: SystemInt32
The number of rows - lenC
- Type: SystemInt32
The number of columns - f
- Type: Microsoft.FSharp.CoreFSharpFuncInt32, FSharpFuncInt32, Double
The function to call to compute the elements of the array. It will get called with the row first and then the column (curried).
Return Value
Type: DoubleThe new array
