Accord.Statistics.Distributions.Univariate.TDistribution.Fit C# (CSharp) Method

Fit() public method

Not supported.
public Fit ( double observations, double weights, Fitting options ) : void
observations double
weights double
options Fitting
return void
        public override void Fit(double[] observations, double[] weights, Fitting.IFittingOptions options)
        {
            throw new NotSupportedException();
        }

Usage Example

Example #1
0
 public void FitTest()
 {
     bool thrown = false;
     TDistribution target = new TDistribution(1);
     try { target.Fit(null, null, null); }
     catch (NotSupportedException) { thrown = true; }
     Assert.IsTrue(thrown);
 }