Function geo_nd::quat::weighted_average_many
source · pub fn weighted_average_many<I: Iterator<Item = (V, [V; 4])>, V: Float>(
values_iter: I
) -> [V; 4]
Expand description
Calculate the weighted average of many unit quaternions
weights need not add up to 1, but must be nonzero
This is an approximation compared to the Landis Markley paper