Description Usage Arguments Details Value
Internal function. Get the row index in the stacked sample matrices for the b^{th} batch
1 | get.index.b(batch.size, b)
|
batch.size |
vector of batch sizes |
b |
the index of the batch of interest |
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)
the row index or sample matrices of batch b for all b's in b.vec
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.