Make CubicSpline3d.derivative faster and more flexible
Make CubicSpline3d.derivative faster and more flexible

Avoid intermediate vector allocations in favour of simple Float operations, but don't rely on partial application for efficiency (final vector allocation will likely dominate anyways)

opensolid/geometry