This method returns a double array containing the values of random samples from this distribution. @param numSamples the number of random samples to take @param rand the source of randomness @return a vector of the random sample values
(int numSamples, Random rand)
| 202 | * @return a vector of the random sample values |
| 203 | */ |
| 204 | public DenseVector sampleVec(int numSamples, Random rand) |
| 205 | { |
| 206 | return DenseVector.toDenseVec(sample(numSamples, rand)); |
| 207 | } |
| 208 | |
| 209 | @Override |
| 210 | abstract public Distribution clone(); |
no test coverage detected