Trait snarkvm_circuit::operators::SquareRoot
source · pub trait SquareRoot {
type Output;
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>> + 'static> for Field<E>where
E: Environment,
impl<E> Metrics<dyn SquareRoot<Output = Field<E>> + 'static> for Field<E>where
E: Environment,
impl<E> OutputMode<dyn SquareRoot<Output = Field<E>> + 'static> for Field<E>where
E: Environment,
impl<E> OutputMode<dyn SquareRoot<Output = Field<E>> + 'static> for Field<E>where
E: Environment,
type Case = Mode
fn output_mode(
case: &<Field<E> as OutputMode<dyn SquareRoot<Output = Field<E>> + 'static>>::Case
) -> Mode
fn output_mode(
case: &<Field<E> as OutputMode<dyn SquareRoot<Output = Field<E>> + 'static>>::Case
) -> Mode
Returns the mode of the output.