stretcher

stretcher

Works with VSimBase, VSimEM, VSimPD, VSimPA, and VSimVE 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>