Mass-Spring System with Just In Time Optimization
This notebook demonstrates the just-in-time (jit) api. The jit api produces a optimized version of DiffKt code. This is useful for when you repeatedly call a function. On the first call to a jitted function, an optimized version is created. On subsequent calls, the optimized version is called, which should result in a speed up of the program.