pub trait ArrayInstanceLog<T, U>: ArrayInstancewhere
T: HasAfEnum,
U: HasAfEnum,
ArrayExt<T>: ArrayInstanceNaturalLog<T>,
ArrayExt<U>: ArrayInstanceNaturalLog<U>,
ArrayExt<T::UnaryOutType>: Div<ArrayExt<U::UnaryOutType>>,{
// 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§
Sourcefn log(
&self,
base: &ArrayExt<U>,
) -> <ArrayExt<T::UnaryOutType> as Div<ArrayExt<U::UnaryOutType>>>::Output
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.