Skip to main content

FunctionsGeneralType

Trait FunctionsGeneralType 

Source
pub trait FunctionsGeneralType<T: NumKernel>:
    Clone
    + Debug
    + Display
    + Arithmetic
    + Sqrt
    + PowTrait<T>
    + TrigonometricFunctions
    + HyperbolicFunctions
    + Exp
    + Ln
    + Log10
    + Log2
    + Zero
    + Abs<Output = T::RealType>
    + FpChecks
    + Neg<Output = Self>
    + MulAdd
    + Reciprocal
    + Send
    + Sync { }
Expand description

This trait represents the functions that can be applied on real and complex numbers.

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.

Implementations on Foreign Types§

Source§

impl FunctionsGeneralType<Native64> for f64

Source§

impl FunctionsGeneralType<Native64> for Complex<f64>

Implementors§