private void LinearArcsin() { LinearAlgorithms.N = CountOfIterations; Stopwatch sw = new Stopwatch(); sw.Start(); LinearValue = LinearAlgorithms.GetLeibniz().ToString(); sw.Stop(); LinearTime = sw.Elapsed.TotalSeconds.ToString(); RaisePropertyChanged("LinearTime"); }
private void LinearIntegral() { LinearAlgorithms.N = CountOfIterations; Stopwatch sw = new Stopwatch(); sw.Start(); LinearValue = $"{LinearAlgorithms.GetIntegral()}"; sw.Stop(); LinearTime = $"{sw.Elapsed.TotalSeconds}"; RaisePropertyChanged("LinearValue"); RaisePropertyChanged("LinearTime"); }
private void LinearMonteCarlo() { LinearAlgorithms.N = CountOfIterations; Stopwatch sw = new Stopwatch(); sw.Start(); LinearValue = $"{LinearAlgorithms.GetMonteCarlo()}"; sw.Stop(); LinearTime = sw.Elapsed.TotalSeconds.ToString(); RaisePropertyChanged("LinearValue"); RaisePropertyChanged("LinearTime"); }