Click or drag to resize
CMatFixUnitary Method
Makes this matrix closer to being unitary by applying an iterative correction.

Namespace: Microsoft.Research.Liquid
Assembly: Liquid1 (in Liquid1.dll) Version: 1.0.5981.24943 (1.0.*)
Syntax
F#
member FixUnitary : 
        tol : FSharpOption<float> * 
        maxIter : FSharpOption<int> -> Tuple<int, float> 

Parameters

tol
Type: Microsoft.FSharp.CoreFSharpOptionDouble
An optional desired tolerance for the deviation from unitarity, as measured by UnitaryError. The default is 1.0e-13.
maxIter
Type: Microsoft.FSharp.CoreFSharpOptionInt32
An optional maximum number of iterations to perform. The default is 5.

Return Value

Type: TupleInt32, Double
A tuple of the number of iterations performed, for cost estimates, and the final deviation from unitarity.
See Also