Usage
rLSaddDiscreteBlocks(model,iStage,nRealzBlock,padProb, pakStart,paiRows,paiCols,paiStvs,padVals,nModifyRule)
Arguments
iStage
The stage of the stochastic block.
nRealzBlock
Number of discrete events in the block.
padProb
An double array containing the event probabilities.
pakStart
An integer array containing the starting positions of events in the sparse matrix or instruction list.
paiRows
An integer array containing row indices of stochastic parameters.
paiCols
An integer array containing column indices of stochastic parameters.
paiStvs
An integer array containing stochastic parameters in the instruction list.
padVals
A double array containing stochastic values associated with the stochastic parameters listed in paiStvs or (paiArows,paiAcols).
nModifyRule
A flag indicating whether stochastic parameters update the core model by adding or replacing.