advancesFor

fun advancesFor(inputs: List<ModelInputs>, crnOption: Boolean): List<Int>(source)

Returns the pre-run sub-stream advance for each point of inputs, in request order, and moves the tape forward. See the class documentation for the independent vs. CRN semantics.

Return

the advance to apply (as numberOfStreamAdvancesPriorToRunning) for each point

Parameters

inputs

the points of the request, in order

crnOption

true for common random numbers (all points share the current block), false for independent, non-overlapping stream blocks