deriv

fun deriv(s: Double, t: Double = reparam(s)): Vector2d

Returns the derivative s units along the curve.