stretcher

stretcher

Works with all licenses.

Function that stretches the distribution returned by another.

stretcher Parameters

minvalue (float)

Minimum value of the random number.

maxvalue (float)

Maximum value of the random number.

stretchFunc (no-arg functor)

Function that is to be stretched.

seed (optional)

Random seed of the stretched function stretchFunc, if it has one.

Example stretcher Block

<NAFunc velocitySequence_0>
  kind = stretcher
  minvalue = -1.0e6
  maxvalue =  1.0e6
</NAFunc>