Trait snarkvm_console_network::SquareRoot
source · pub trait SquareRoot {
type Output;
fn square_root(&self) -> Result<Self::Output, Error>;
}
Expand description
Unary operator for retrieving the square root of the value.
Required Associated Types
Required Methods
fn square_root(&self) -> Result<Self::Output, Error>
Implementations on Foreign Types
impl<E> SquareRoot for Field<E>where
E: Environment,
impl<E> SquareRoot for Field<E>where
E: Environment,
fn square_root(&self) -> Result<<Field<E> as SquareRoot>::Output, Error>
fn square_root(&self) -> Result<<Field<E> as SquareRoot>::Output, Error>
Returns the square_root
of self
.