Trait easy_ml::numeric::extra::Ln[][src]

pub trait Ln {
    type Output;
    fn ln(self) -> Self::Output;
}

A type which can compute the natural logarithm of itself: ln(self).

This is implemented by f32 and f64 by value and by reference, as well as Traces and Records of these.

Associated Types

Loading content...

Required methods

fn ln(self) -> Self::Output[src]

Loading content...

Implementations on Foreign Types

impl Ln for f32[src]

type Output = f32

fn ln(self) -> Self::Output[src]

impl Ln for &f32[src]

type Output = f32

fn ln(self) -> Self::Output[src]

impl Ln for f64[src]

type Output = f64

fn ln(self) -> Self::Output[src]

impl Ln for &f64[src]

type Output = f64

fn ln(self) -> Self::Output[src]

Loading content...

Implementors

impl<'a, T: Numeric + Real + Primitive> Ln for &Record<'a, T> where
    &'t T: NumericRef<T> + RealRef<T>, 
[src]

Natural logarithm, ie ln(x) of a Record by reference.

type Output = Record<'a, T>

fn ln(self) -> Self::Output[src]

impl<'a, T: Numeric + Real + Primitive> Ln for Record<'a, T> where
    &'t T: NumericRef<T> + RealRef<T>, 
[src]

Operation for a record by value.

type Output = Record<'a, T>

fn ln(self) -> Self::Output[src]

impl<T: Numeric + Real + Primitive> Ln for &Trace<T> where
    &'a T: NumericRef<T> + RealRef<T>, 
[src]

Natural logarithm, ie ln(x) of a Trace by reference.

type Output = Trace<T>

fn ln(self) -> Self::Output[src]

impl<T: Numeric + Real + Primitive> Ln for Trace<T> where
    &'a T: NumericRef<T> + RealRef<T>, 
[src]

Operation for a trace by value.

type Output = Trace<T>

fn ln(self) -> Self::Output[src]

Loading content...