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

    // Required method
    fn batch_normalize(
        points: &Points
    ) -> <Self as BatchNormalize<Points>>::Output;
}
Available on crate feature arithmetic only.
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.

Object Safety§

This trait is not object safe.

Implementors§