public Point(double x, double y) { this.coords = new double[] { x, y }; result = FunctionHelper.CalculateFunctionValue(coords); }
public Point(double[] coords) { this.coords = coords; result = FunctionHelper.CalculateFunctionValue(coords); }