openvm_algebra_guest::field

Trait ComplexConjugate

Source
pub trait ComplexConjugate {
    // Required methods
    fn conjugate(self) -> Self;
    fn conjugate_assign(&mut self);
}

Required Methods§

Source

fn conjugate(self) -> Self

Conjugate an extension field element.

Source

fn conjugate_assign(&mut self)

Replace self with its conjugate.

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.

Implementations on Foreign Types§

Source§

impl ComplexConjugate for Fq2

Source§

fn conjugate(self) -> Self

Source§

fn conjugate_assign(&mut self)

Source§

impl ComplexConjugate for Fq12

This is complex conjugation of Fq12 over Fq6

Source§

fn conjugate(self) -> Self

Source§

fn conjugate_assign(&mut self)

Source§

impl ComplexConjugate for Fq2

Source§

fn conjugate(self) -> Self

Source§

fn conjugate_assign(&mut self)

Source§

impl ComplexConjugate for Fq12

This is complex conjugation of Fq12 over Fq6

Source§

fn conjugate(self) -> Self

Source§

fn conjugate_assign(&mut self)

Implementors§