CSMat Constructor (CMat, FSharpOption(Double))

Liquid Quantum Simulator

CSMat Constructor (CMat, FSharpOptionDouble)
Creates a sparse matrix from a dense matrix.

Namespace: Microsoft.Research.Liquid
Assembly: Liquid1 (in Liquid1.dll) Version: 1.0.5981.24943 (1.0.*)
Syntax
F#
new : 
        m : CMat * 
        tol : FSharpOption<float> -> CSMat

Parameters

m
Type: Microsoft.Research.LiquidCMat
The source matrix.
tol
Type: Microsoft.FSharp.CoreFSharpOptionDouble
An optional tolerance for identifying zero elements. The default is to use Complex.tol as the maximum magnitude to consider 0.
See Also