binius_field::linear_transformation

Trait Transformation

source
pub trait Transformation<Input, Output> {
    // Required method
    fn transform(&self, data: &Input) -> Output;
}
Expand description

Generic transformation trait that is used both for scalars and packed fields

Required Methods§

source

fn transform(&self, data: &Input) -> Output

Implementors§

source§

impl<IF: BinaryField, OF: BinaryField, Data: Deref<Target = [OF]>> Transformation<IF, OF> for FieldLinearTransformation<OF, Data>