2.2.1.2.8 NLFitSession::GetYFromX
GetYFromX
Description
Get fitting Y calculated by given X value and parameters.
Syntax
int GetYFromX(const double *pX, double *pY, int nCount = 1, int nn = 0)
Parameters
- pX
- [input] the array of x values.
- pY
- [output] the array of fitted y values.
- nCount
- [input] the number of points of x values and fitted y values
- nn
- [input] the index of dataset
Return
return 1 if successfully, else return 0.
Examples
EX1
Please refer to the example in NLFitSession::SetParamValues
Remark
See Also
Fit
Header to Include
Originlab\NLFitSession.h