transform method

  1. @override
double transform(
  1. double t
)
override

Returns the position from the simulator and corrects the final output x(1.0) for tight tolerances.

Implementation

@override
double transform(double t) => _sim.x(t) + t * (1 - _sim.x(1.0));