public AbstractArtaProcess CreateArtaProcess(double[] artaCorrelationCoefficients, RandomSource random) { var fitter = new AutocorrelationFitter(this); var arCorrelationCOefficients = fitter.FitArAutocorrelations(artaCorrelationCoefficients, DefaultError); var ar = ArProcessFactory.CreateArProcess(artaCorrelationCoefficients, random); return(new ArtaProcessGeneral(ar, this)); }
public AbstractArtaProcess CreateArtaProcess(double[] artaCorrelationCoefficients, RandomSource random) { var dim = artaCorrelationCoefficients.Length; var arCorrelationCoefficients = new double[dim]; for (var i = 0; i < dim; i++) { arCorrelationCoefficients[i] = 2 * System.Math.Sin(System.Math.PI * artaCorrelationCoefficients[i] / 6); } ArProcess ar = ArProcessFactory.CreateArProcess(arCorrelationCoefficients, random); return(new ArtaProcessUniform(ar, continuousUniform.LowerBound, continuousUniform.UpperBound)); }
public AbstractArtaProcess CreateArtaProcess(double[] artaCorrelationCoefficients, RandomSource random) { ArProcess arProcess = ArProcessFactory.CreateArProcess(artaCorrelationCoefficients, random); return(new ArtaProcessNormal(arProcess, normal.Mean, normal.Variance)); }