init method

dynamic init(
  1. dynamic x0,
  2. dynamic x1,
  3. dynamic t0,
  4. dynamic t1,
)

Implementation

init(x0, x1, t0, t1) {
  c0 = x0;
  c1 = t0;
  c2 = -3 * x0 + 3 * x1 - 2 * t0 - t1;
  c3 = 2 * x0 - 2 * x1 + t0 + t1;
}