Overload List

  Name Description
Public method SetPeriodic(INumToNumStepFunction, Double)
Public method SetPeriodic(INumToNumStepFunction, Double, Double)

This member function initializes the invoking function as a step function that repeats the step function f, n times after x0. More precisely, if f is defined on [xfpMin,xfpMax) and if the invoking function is defined on [xMin,xMax), the value of the invoking function will be:

  • 0 on [xMin, x0),
  • fp((x-x0+xfpMin) % (xfpMax-xfpMin)) for x in [x0, Min(x0+n*(xfpMax-xfpMin), xMax)), and
  • 0 on [Min(x0+n*(xfpMax-xfpMin), xMax), xMax)
Public method SetPeriodic(INumToNumStepFunction, Double, Double, Double)

This member function initializes the invoking function as a step function that repeats the step function f, n times after x0. More precisely, if f is defined on [xfpMin,xfpMax) and if the invoking function is defined on [xMin,xMax), the value of the invoking function will be:

  • dval on [xMin, x0),
  • fp((x-x0+xfpMin) % (xfpMax-xfpMin)) for x in [x0, Min(x0+n///(xfpMax-xfpMin), xMax)), and
  • dval on [Min(x0+n///(xfpMax-xfpMin), xMax), xMax)

See Also