CSMat Constructor (CMat, FSharpOption<Double>) |
Creates a sparse matrix from a dense matrix.
Namespace: Microsoft.Research.LiquidAssembly: Liquid1 (in Liquid1.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxnew :
m : CMat *
tol : FSharpOption<float> -> CSMat
Parameters
- m
- Type: Microsoft.Research.Liquid.CMat
The source matrix. - tol
- Type: Microsoft.FSharp.Core.FSharpOption<Double>
An optional tolerance for identifying zero elements.
The default is to use Complex.tol as the maximum magnitude to consider 0.
See Also