addRandomPerturbation

fun addRandomPerturbation(point: DoubleArray, perturbationFactor: Double, rnStream: RNStreamIfc): DoubleArray(source)

This function adds a random perturbation to the supplied point.

Parameters

point

the point to perturb

perturbation

the perturbation factor

rnStream

the random number stream to use for the perturbation