Trait Complex

Source
pub trait Complex: Signed {
    type RealScalar: Copy;

    // Required methods
    fn conj(self) -> Self;
    fn mul_i(self) -> Self;
    fn mul_neg_i(self) -> Self;
}
Expand description

Complex valued vectors.

Required Associated Types§

Source

type RealScalar: Copy

The real scalar type.

Required Methods§

Source

fn conj(self) -> Self

Conjugate.

Source

fn mul_i(self) -> Self

Multiply by i.

Source

fn mul_neg_i(self) -> Self

Multiply by -i.

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.

Implementors§

Source§

impl Complex for cf32x1

Source§

impl Complex for generic_simd::arch::generic::cf64x1

Source§

impl Complex for cf32x2

Source§

impl Complex for cf32x4

Source§

impl Complex for generic_simd::arch::x86::cf64x1

Source§

impl Complex for cf64x2

Source§

impl<Underlying, Real> Complex for Shim2<Underlying, Complex<Real>>
where Underlying: Vector<Scalar = Complex<Real>> + Complex<RealScalar = Real>, Underlying::Width: Double, Real: Copy,

Source§

type RealScalar = Real

Source§

impl<Underlying, Real, Token> Complex for ShimToken<Underlying, Complex<Real>, Token>
where Underlying: Vector<Scalar = Complex<Real>> + Complex<RealScalar = Real>, Real: Copy, Token: Token, Underlying::Token: From<Token>,

Source§

type RealScalar = Real