random_resample_with_replacement Subroutine

public subroutine random_resample_with_replacement(x, xn)

Random resampling with replacement from the supplied sample.

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in), dimension(:) :: x

The N-element array to resample.

real(kind=real64), intent(out), dimension(size(x)) :: xn

An N-element array where the resampled data set will be written.


Contents