private void SetVisuals(SchmidtDecomposition svd) { UMatrixBlock.Text = svd.U.ToString(2); SigmaMatrixBlock.Text = svd.Sigma.ToString(2); VTMatrixBlock.Text = svd.VT.ToString(2); SingularValuesBlock.Text = ""; for (int i = 0; i < svd.SingularValues.Length; i++) { SingularValuesBlock.Text += svd.SingularValues[i].Real.ToString("n2") + " "; } SigmaRankBlock.Text = svd.SigmaRank.ToString();; TraceNormBlock.Text = svd.TraceNorm.ToString("n2"); }
public SchmidtDecompositionDisplay() { Criterion = new SchmidtDecomposition(); InitializeComponent(); }