Accord.Math.Optimization.GaussNewton.GaussNewton C# (CSharp) Method

GaussNewton() public method

Initializes a new instance of the GaussNewton class.
public GaussNewton ( int parameters ) : System
parameters int The number of variables (free parameters) /// in the objective function.
return System
        public GaussNewton(int parameters)
        {
            this.numberOfParameters = parameters;

            this.hessian = new double[numberOfParameters, numberOfParameters];
            this.gradient = new double[numberOfParameters];
            this.weights = new double[numberOfParameters];
        }