Skip to main content

f32c

Type Alias f32c 

Source
pub type f32c = complex<f32>;
Expand description

Single-precision (64-bit) complex number — two f32 components.

Aliased Type§

#[repr(C)]
pub struct f32c { pub re: f32, pub im: f32, }

Fields§

§re: f32§im: f32

Trait Implementations§

Source§

impl Bilinear for f32c

Source§

type Output = complex<f64>

Output type for results. f32 widens to f64; f16/bf16 use f32.
Source§

fn bilinear(a: &[Self], b: &[Self], c: &[Self]) -> Option<Self::Output>

Computes the bilinear form aᵀ × C × b. Read more
Source§

impl Dot for f32c

Source§

type Output = complex<f64>

Source§

fn dot(a: &[Self], b: &[Self]) -> Option<Self::Output>

Source§

fn inner(a: &[Self], b: &[Self]) -> Option<Self::Output>

Alias for dot.
Source§

impl EachBlend for f32c

Source§

type Scalar = complex<f32>

Source§

fn each_blend( a: &[Self], b: &[Self], alpha: Self::Scalar, beta: Self::Scalar, result: &mut [Self], ) -> Option<()>

Source§

impl EachFMA for f32c

Source§

type Scalar = complex<f32>

Source§

fn each_fma( a: &[Self], b: &[Self], c: &[Self], alpha: Self::Scalar, beta: Self::Scalar, result: &mut [Self], ) -> Option<()>

Source§

impl EachScale for f32c

Source§

type Scalar = complex<f32>

Source§

fn each_scale( a: &[Self], alpha: Self::Scalar, beta: Self::Scalar, result: &mut [Self], ) -> Option<()>

Source§

impl EachSum for f32c

Source§

fn each_sum(a: &[Self], b: &[Self], result: &mut [Self]) -> Option<()>

Source§

impl VDot for f32c

Source§

fn vdot(a: &[Self], b: &[Self]) -> Option<Self::Output>

Source§

impl CastDtype for f32c