Skip to main content

Powi

Trait Powi 

Source
pub trait Powi<Rhs: RudaPrimitive + RudaType<ExpandType: Into<ManagedVariable>> + Sized>:
    RudaPrimitive
    + RudaType<ExpandType: PowiExpand<Rhs>>
    + Sized {
    // Provided methods
    fn powi(self, _rhs: Rhs) -> Self { ... }
    fn __expand_powi(
        scope: &mut Scope,
        lhs: NativeExpand<Self>,
        rhs: NativeExpand<Rhs>,
    ) -> NativeExpand<Self> { ... }
}

Provided Methods§

Source

fn powi(self, _rhs: Rhs) -> Self

Source

fn __expand_powi( scope: &mut Scope, lhs: NativeExpand<Self>, rhs: NativeExpand<Rhs>, ) -> NativeExpand<Self>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Powi<i32> for bf16

Source§

impl Powi<i32> for f16

Source§

impl Powi<i32> for f32

Source§

impl Powi<i32> for f64

Source§

impl Powi<i32> for i8

Source§

impl Powi<i32> for i16

Source§

impl Powi<i32> for i32

Source§

impl Powi<i32> for i64

Source§

impl Powi<i32> for isize

Source§

impl Powi<i32> for u8

Source§

impl Powi<i32> for u16

Source§

impl Powi<i32> for u32

Source§

impl Powi<i32> for u64

Source§

impl Powi<i32> for usize

Implementors§

Source§

impl Powi<i32> for flex32

Source§

impl Powi<i32> for tf32

Source§

impl<Marker: 'static, I: RudaPrimitive> Powi<I> for DynamicScalar<Marker>

Source§

impl<P: Scalar + Powi<I>, I: Scalar, N: Size> Powi<Vector<I, N>> for Vector<P, N>