/// <summary>
/// Creates a new Bootstrap estimation algorithm.
/// </summary>
///
/// <param name="size">The size of the complete dataset.</param>
/// <param name="subsamples">The number B of bootstrap resamplings to perform.</param>
/// <param name="subsampleSize">The number of samples in each subsample. Default
/// is to use the total number of samples in the population dataset.</param>.
///
public Bootstrap(int size, int subsamples, int subsampleSize)
{
this.samples = size;
this.subsampleIndices = new int[subsamples][];
this.subsampleIndices = Bootstrap.Samplings(size, subsamples, subsampleSize);
}