Computes the bending energy of a warping function, measuring its roughness.
Examples
t <- seq(0, 1, length.out = 20)
warp.smoothness(t^2, t)
#> [1] 4
Computes the bending energy of a warping function, measuring its roughness.
t <- seq(0, 1, length.out = 20)
warp.smoothness(t^2, t)
#> [1] 4