2.2.1.1.2 NLFitContext::GetIndepData

Description

It provides the information about the independent data being fitted.

Syntax

int GetIndepData( vector * vData, int iiSet = 0, int iiIndep = 0 )

Parameters

vData
[output]*vData receives the independent data for which the values
are needed.
iiSet
[input,optional]the index of dataset set for which data is needed.
iiIndep
[input,optional]the index of the independent variable for which data is needed.

Return

Returns 0 if success or a negative value if failure, like if the index of the set or of the independent variable are invalid.

Examples

EX1

Please refer to the example in NLFitContext::GetFitCurrInfo

Remark

See Also

NLFitContext::GetFitCurrInfo

Header to Included

ONLSF.h