Usage
rLSaddScenario(model,jScenario,iParentScen,iStage,dProb,nElems, paiRows,paiCols,paiStvs,padVals,nModifyRule)
Arguments
jScenario
Index of the new scenario to be added.
iParentScen
Index of the parent scenario.
iStage
Index of the stage the new scenario branches from its parent.
dProb
The scenario probability.
nElems
Number of stochastic parameters realized at stage iStage in the new scenario.
paiRows
An integer array containing the row indices of stochastic parameters.
paiCols
An integer array containing the column indices of stochastic parameters.
paiStvs
A double array containing indices of stochastic parameters in instruction list.
padVals
A double array containing values of stochastic parameters.
nModifyRule
A flag indicating whether stochastic parameters update the core model by adding or replacing.