This member function initializes the invoking function as a piecewise linear function that repeats the piecewise linear 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),
  • f((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)

Namespace: ILOG.Concert
Assembly: oplall (in oplall.dll)

Syntax

C#
void SetPeriodic(
	INumToNumSegmentFunction f,
	double x0,
	double n,
	double dval
)

Parameters

f
Type: ILOG.Concert..::..INumToNumSegmentFunction
x0
Type: System..::..Double
n
Type: System..::..Double
dval
Type: System..::..Double

See Also