CurveFitLeastSquares(Double, Double, Double, Double, Double, Double) Method

Uses least squares linear regression to estimate the coefficients a, b, and c from the given (x,y,z) data points for the equation z = a + bx + cy.

Definition

Namespace: Gemstone.Numeric.Analysis
Assembly: Gemstone.Numeric (in Gemstone.Numeric.dll) Version: 1.0.167 -- Release Build+9e631c9f4ed4cd2c2da47045792d813c2de0c4a8
public static void LeastSquares(
	double[] zValues,
	double[] xValues,
	double[] yValues,
	out double a,
	out double b,
	out double c
)

Parameters

zValues  Double
z-value array
xValues  Double
x-value array
yValues  Double
y-value array
a  Double
the out a coefficient
b  Double
the out b coefficient
c  Double
the out c coefficient

See Also