pub trait SquareRoot {
    type Output;

    // Required method
    fn square_root(&self) -> Self::Output;
}
Expand description

Unary operator for retrieving the square root of the value.

Required Associated Types§

Required Methods§

source

fn square_root(&self) -> Self::Output

Trait Implementations§

§

impl<E> Metrics<dyn SquareRoot<Output = Field<E>>> for Field<E>where E: Environment,

§

type Case = Mode

§

fn count( case: &<Field<E> as Metrics<dyn SquareRoot<Output = Field<E>>>>::Case ) -> Count

Returns the number of constants, public inputs, private inputs, and constraints.
§

impl<E> OutputMode<dyn SquareRoot<Output = Field<E>>> for Field<E>where E: Environment,

§

type Case = Mode

§

fn output_mode( case: &<Field<E> as OutputMode<dyn SquareRoot<Output = Field<E>>>>::Case ) -> Mode

Returns the mode of the output.

Implementors§

§

impl<E> SquareRoot for Field<E>where E: Environment,

§

type Output = Field<E>