get.index.b: Internal function. Get the row index in the stacked sample...

Description Usage Arguments Details Value

Description

Internal function. Get the row index in the stacked sample matrices for the b^{th} batch

Usage

1
get.index.b(batch.size, b)

Arguments

batch.size

vector of batch sizes

b

the index of the batch of interest

Details

In the computation, samples from each batches are stacked be rows to form x.mat, as well as fx.mat, px.mat, qx.mat. To extract the samples from batch b and their corresponding fx, px, qx values, the indices for batch b will be needed. They can be obtained by calling get.index.b(batch.size, b)

Value

the row index or sample matrices of batch b for all b's in b.vec


thq80/Owen_2000_Safe-and-Effective-IS documentation built on May 10, 2019, 9:53 a.m.