Trait snarkvm_circuit::Square
Expand description
Unary operator for retrieving the squared value.
Required Associated Types
type Output
Required Methods
Trait Implementations
impl<E> Metrics<dyn Square<Output = Field<E>> + 'static> for Field<E>where
E: Environment,
impl<E> Metrics<dyn Square<Output = Field<E>> + 'static> for Field<E>where
E: Environment,
impl<E> OutputMode<dyn Square<Output = Field<E>> + 'static> for Field<E>where
E: Environment,
impl<E> OutputMode<dyn Square<Output = Field<E>> + 'static> for Field<E>where
E: Environment,
type Case = Mode
fn output_mode(
input: &<Field<E> as OutputMode<dyn Square<Output = Field<E>> + 'static>>::Case
) -> Mode
fn output_mode(
input: &<Field<E> as OutputMode<dyn Square<Output = Field<E>> + 'static>>::Case
) -> Mode
Returns the mode of the output.