NLFitSession::GetParamNamesInFunction

Description

Get the parameter names defined in function.

Syntax

int GetParamNamesInFunction(vector<string>& vstrParamNames, int nFunc = 0, bool bTrimPostfix = false )

Parameters

vstrParamNames
[output] the vector to receive parameter names.
nFunc
[input] function index since support multiple functions.
bTrimPostfix
[input] set true to trim postfix, like y0_2 trim _2, 2 here means the index of dataset.

Return

return the number of parameters.

Examples

EX1

Please refer to the example in NLFitSession::ParamsInitValues

Remark

See Also

ParamsInitValues, GetParamValuesAndOffsets

header to Include

Originlab\NLFitSession.h