updateCache method

  1. @override
void updateCache()
override

Marks the internal cache as stale. After calling this function the methods next and perturb will return a new random number sampled from the interval start...end.

Implementation

@override
void updateCache() {
  super.updateCache();

  /// Re-initialize lazy variables.
  _start.updateCache();
  _end.updateCache();
  dx.updateCache();
}