ArrayInstanceLog

Trait ArrayInstanceLog 

Source
pub trait ArrayInstanceLog<T, U>: ArrayInstance{
    // Required method
    fn log(
        &self,
        base: &ArrayExt<U>,
    ) -> <ArrayExt<T::UnaryOutType> as Div<ArrayExt<U::UnaryOutType>>>::Output;
}
Expand description

Defines a general logarithm.

Required Methods§

Source

fn log( &self, base: &ArrayExt<U>, ) -> <ArrayExt<T::UnaryOutType> as Div<ArrayExt<U::UnaryOutType>>>::Output

Calculate the element-wise logarithm.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§