init method
dynamic
init(
- dynamic x0,
- dynamic x1,
- dynamic t0,
- 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;
}