pub trait ComplexScalar:
ComplexScalarMutateParts
+ Conjugate
+ Arg<Output = Self::RealType>
+ for<'a> Mul<&'a Self::RealType, Output = Self>
+ for<'a> MulAssign<&'a Self::RealType>
+ for<'a> Pow<&'a Self::RealType, Error = PowComplexBaseRealExponentErrors<Self::RawComplex>> {
// Provided methods
fn scale(self, c: &Self::RealType) -> Self { ... }
fn scale_mut(&mut self, c: &Self::RealType) { ... }
}
Expand description
§Trait for scalar complex numbers
Provided Methods§
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§
impl ComplexScalar for Complex<f64>
Implement the ComplexScalar
trait for the Complex<f64>
type.