Trait elliptic_curve::point::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§
sourcetype Output: AsRef<[Self::AffineRepr]>
type Output: AsRef<[Self::AffineRepr]>
The output of the batch normalization; a container of affine points.
Required Methods§
sourcefn batch_normalize(points: &Points) -> <Self as BatchNormalize<Points>>::Output
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.