NAG Library Manual, Mark 30
Interfaces:  FL   CL   CPP   AD 

NAG CL Interface Introduction
Example description

nag_rand_sample_wgt (g05nec) Example Program Data
Nag_MersenneTwister      0   1762543 :: genid, subid, seed[0]
 25    10     Nag_Unsorted  Nag_TRUE :: n, m, sortorder, pop_supplied
 171   85.54
  52   71.78
 172  118.13
 139   13.68
 196  153.60
 125  165.35
  36  122.35
  70   35.87
  25  151.78
  86  128.33
  76  178.27
  37  183.37
 185  165.81
  40  101.41
  90  145.16
  27   42.01
  79   59.08
 118   17.53
 142   87.14
 127   69.20
 101   31.13
  22   60.26
  41   21.00
 199   85.06
  59  119.73                         :: End of ipop,wt