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.
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.