pub trait Scalar: Copy + Debug + Display + LowerExp + UpperExp + PartialEq + Neg<Output = Self> + NumAssign + FromPrimitive + Sum + Product + ScalarOperand {
    type Real: Real + Into<Self> + FromPrimitive;

Show 20 methods fn re(&self) -> Self::Real; fn im(&self) -> Self::Real; fn conj(&self) -> Self; fn abs(&self) -> Self::Real; fn square(&self) -> Self::Real; fn sqrt(self) -> Self; fn exp(self) -> Self; fn ln(self) -> Self; fn sin(self) -> Self; fn cos(self) -> Self; fn tan(self) -> Self; fn sinh(self) -> Self; fn cosh(self) -> Self; fn tanh(self) -> Self; fn asin(self) -> Self; fn acos(self) -> Self; fn atan(self) -> Self; fn asinh(self) -> Self; fn acosh(self) -> Self; fn atanh(self) -> Self;
}
Expand description

A trait for real and complex numbers.

Required Associated Types

Required Methods

Implementations on Foreign Types

Implementors