wisdem.commonse.utilities.arc_length_deriv

wisdem.commonse.utilities.arc_length_deriv(points)[source]

Return the Jacobian for function arc_length(). See its docstring for more details.

Parameters:

points (numpy array[n_points, n_dim]) – Array of coordinate points that we compute the arc distances for.

Returns:

d_arc_distances_d_points – Array, starting at 0, with the cumulative distance from the first point in the points array along the arc.

Return type:

numpy array[n_points, n_points * n_dim]