Trait VConj

Source
pub trait VConj: Vector
where Self::Output: Vector,
{ type Output; // Required method fn conj(&self) -> Self::Output; }

Required Associated Types§

Required Methods§

Source

fn conj(&self) -> Self::Output

Returns the complex-conjugate vector-array

u*

§Examples
let u = [Complex::new(1.0, 1.0), Complex::new(2.0, -1.0)];
let u_ = [u[0].conj(), u[1].conj()];
assert_eq!(u, u_);

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<F: Float, const L: usize> VConj for [Complex<F>; L]
where Self: Vector,

Source§

type Output = [Complex<F>; L]

Source§

fn conj(&self) -> Self::Output

Implementors§