pub struct PowOperation<'c> { /* private fields */ }
Expand description
A pow
operation. Computes the power of one value to another..
Elementwise input1 raised to the power of input2. Axis of size 1 will be broadcast, as necessary.
Implementations§
source§impl<'c> PowOperation<'c>
impl<'c> PowOperation<'c>
sourcepub fn as_operation(&self) -> &Operation<'c>
pub fn as_operation(&self) -> &Operation<'c>
Returns a generic operation.
sourcepub fn builder(
context: &'c Context,
location: Location<'c>
) -> PowOperationBuilder<'c, Unset, Unset, Unset>
pub fn builder( context: &'c Context, location: Location<'c> ) -> PowOperationBuilder<'c, Unset, Unset, Unset>
Creates a builder.
pub fn z(&self) -> Result<OperationResult<'c, '_>, Error>
pub fn input_1(&self) -> Result<Value<'c, '_>, Error>
pub fn input_2(&self) -> Result<Value<'c, '_>, Error>
Trait Implementations§
source§impl<'c> From<PowOperation<'c>> for Operation<'c>
impl<'c> From<PowOperation<'c>> for Operation<'c>
source§fn from(operation: PowOperation<'c>) -> Self
fn from(operation: PowOperation<'c>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'c> RefUnwindSafe for PowOperation<'c>
impl<'c> !Send for PowOperation<'c>
impl<'c> !Sync for PowOperation<'c>
impl<'c> Unpin for PowOperation<'c>
impl<'c> UnwindSafe for PowOperation<'c>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more