elliptic_curve::point

Trait BatchNormalize

Source
pub trait BatchNormalize<Points: ?Sized>: Curve {
    type Output: AsRef<[Self::AffineRepr]>;

    // Required method
    fn batch_normalize(
        points: &Points,
    ) -> <Self as BatchNormalize<Points>>::Output;
}
Expand description

Normalize point(s) in projective representation by converting them to their affine ones.

Required Associated Types§

Source

type Output: AsRef<[Self::AffineRepr]>

The output of the batch normalization; a container of affine points.

Required Methods§

Source

fn batch_normalize(points: &Points) -> <Self as BatchNormalize<Points>>::Output

Perform a batched conversion to affine representation on a sequence of projective points at an amortized cost that should be practically as efficient as a single conversion. Internally, implementors should rely upon InvertBatch.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§