msm_naive

Function msm_naive 

Source
pub fn msm_naive<R, K: Space<R>>(points: &[K], scalars: &[R]) -> K
Expand description

A naive implementation of Space::msm.

This is what the trait does by default.

This is useful when implementing the trait, because for small inputs it might be worth just using the naive implementation, because faster algorithms have some overhead in terms of allocating space.