Trait snarkvm_circuit::environment::SquareRoot
source · 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§
fn square_root(&self) -> Self::Output
Trait Implementations§
§impl<E> Metrics<dyn SquareRoot<Output = Field<E>>> for Field<E>where
E: Environment,
impl<E> Metrics<dyn SquareRoot<Output = Field<E>>> for Field<E>where E: Environment,
§impl<E> OutputMode<dyn SquareRoot<Output = Field<E>>> for Field<E>where
E: Environment,
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
fn output_mode( case: &<Field<E> as OutputMode<dyn SquareRoot<Output = Field<E>>>>::Case ) -> Mode
Returns the mode of the output.