Click or drag to resize
NonlinearRegression.Solve Method
Solves the least squares problem and returns the regression coefficients.

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public virtual double[] Solve(
	NonlinearRegression. IFunction F
)

Parameters

F
Type: Imsl.Stat.NonlinearRegression.IFunction
An NonlinearRegression. IFunction whose coefficients are to be computed.

Return Value

Type:Double[]
A double array containing the regression coefficients.
Exceptions
ExceptionCondition
TooManyIterationsException is thrown when the number of allowed iterations is exceeded
NegativeFreqException is thrown when the specified frequency is negative
NegativeWeightException is thrown when the weight is negative
See Also