Struct faer::complex_native::c64

source ·
pub struct c64 {
    pub re: f64,
    pub im: f64,
}
Expand description

64-bit complex floating point type. See the module-level documentation for more details.

Fields§

§re: f64

Real part.

§im: f64

Negated imaginary part.

Implementations§

source§

impl c64

source

pub fn new(re: f64, im: f64) -> Self

Create a new complex number.

source

pub fn i() -> Self

Construct the imaginary number.

source

pub fn cis(phase: f64) -> Self

Create a complex number from a phase.

source

pub fn from_polar(r: f64, theta: f64) -> Self

Create a complex number from polar coordinates.

source

pub fn to_num_complex(self) -> Complex<f64>

Convert the number to a num_complex::Complex64.

source

pub fn re(self) -> f64

Returns the real part of the complex number.

source

pub fn im(self) -> f64

Returns the imaginary part of the complex number.

source

pub fn conj(self) -> Self

Calculate the complex conjugate of self.

source

pub fn is_nan(self) -> bool

source

pub fn is_infinite(self) -> bool

source

pub fn is_finite(self) -> bool

source

pub fn is_normal(self) -> bool

source

pub fn recip(self) -> Self

source

pub fn powi(self, exp: i32) -> Self

source

pub fn powu(self, exp: u32) -> Self

source

pub fn powf(self, exp: f64) -> Self

source

pub fn powc(self, exp: Complex<f64>) -> Self

source

pub fn sqrt(self) -> Self

source

pub fn exp(self) -> Self

source

pub fn exp2(self) -> Self

source

pub fn expf(self, base: f64) -> Self

source

pub fn ln(self) -> Self

source

pub fn log(self, base: f64) -> Self

source

pub fn log2(self) -> Self

source

pub fn log10(self) -> Self

source

pub fn cbrt(self) -> Self

source

pub fn sin(self) -> Self

source

pub fn cos(self) -> Self

source

pub fn tan(self) -> Self

source

pub fn asin(self) -> Self

source

pub fn acos(self) -> Self

source

pub fn atan(self) -> Self

source

pub fn sinh(self) -> Self

source

pub fn cosh(self) -> Self

source

pub fn tanh(self) -> Self

source

pub fn asinh(self) -> Self

source

pub fn acosh(self) -> Self

source

pub fn atanh(self) -> Self

source

pub fn abs(self) -> f64

source

pub fn arg(self) -> f64

source

pub fn norm(&self) -> f64

Computes the l2 norm of self.

source

pub fn l1_norm(&self) -> f64

Computes the l1 norm of self.

source

pub fn norm_sqr(&self) -> f64

Computes the squared l2 norm of self.

source

pub fn inv(&self) -> Self

Computes the inverse of self.

Trait Implementations§

source§

impl Add<c64> for c64conj

§

type Output = c64

The resulting type after applying the + operator.
source§

fn add(self, rhs: c64) -> Self::Output

Performs the + operation. Read more
source§

impl Add<c64> for f64

§

type Output = c64

The resulting type after applying the + operator.
source§

fn add(self, rhs: c64) -> Self::Output

Performs the + operation. Read more
source§

impl Add<c64conj> for c64

§

type Output = c64

The resulting type after applying the + operator.
source§

fn add(self, rhs: c64conj) -> Self::Output

Performs the + operation. Read more
source§

impl Add<f64> for c64

§

type Output = c64

The resulting type after applying the + operator.
source§

fn add(self, rhs: f64) -> Self::Output

Performs the + operation. Read more
source§

impl Add for c64

§

type Output = c64

The resulting type after applying the + operator.
source§

fn add(self, rhs: Self) -> Self::Output

Performs the + operation. Read more
source§

impl AddAssign<c64conj> for c64

source§

fn add_assign(&mut self, rhs: c64conj)

Performs the += operation. Read more
source§

impl AddAssign<f64> for c64

source§

fn add_assign(&mut self, rhs: f64)

Performs the += operation. Read more
source§

impl AddAssign for c64

source§

fn add_assign(&mut self, rhs: c64)

Performs the += operation. Read more
source§

impl Clone for c64

source§

fn clone(&self) -> c64

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl ComplexField for c64

§

type Real = f64

§

type Simd = Arch

§

type ScalarSimd = NoSimd

§

type PortableSimd = Arch

source§

fn faer_from_f64(value: f64) -> Self

Converts value from f64 to Self.
The conversion may be lossy when converting to a type with less precision.
source§

fn faer_add(self, rhs: Self) -> Self

Returns self + rhs.
source§

fn faer_sub(self, rhs: Self) -> Self

Returns self - rhs.
source§

fn faer_mul(self, rhs: Self) -> Self

Returns self * rhs.
source§

fn faer_neg(self) -> Self

Returns -self.
source§

fn faer_conj(self) -> Self

Returns conjugate(self).
source§

fn faer_scale_real(self, rhs: Self::Real) -> Self

Returns the input, scaled by rhs.
source§

fn faer_scale_power_of_two(self, rhs: Self::Real) -> Self

Returns the input, scaled by rhs.
source§

fn faer_score(self) -> Self::Real

Returns either the norm or squared norm of the number. Read more
source§

fn faer_abs2(self) -> Self::Real

Returns the squared absolute value of self.
source§

fn faer_nan() -> Self

Returns a NaN value.
source§

fn faer_from_real(real: Self::Real) -> Self

Returns a complex number whose real part is equal to real, and a zero imaginary part.
source§

fn faer_real(self) -> Self::Real

Returns the real part.
source§

fn faer_imag(self) -> Self::Real

Returns the imaginary part.
source§

fn faer_zero() -> Self

Returns 0.0.
source§

fn faer_one() -> Self

Returns 1.0.
source§

fn faer_inv(self) -> Self

Returns 1.0/self.
source§

fn faer_sqrt(self) -> Self

Returns the square root of self.
source§

fn faer_abs(self) -> Self::Real

Returns the absolute value of self.
source§

fn faer_slice_as_simd<S: Simd>( slice: &[Self::Unit] ) -> (&[Self::SimdUnit<S>], &[Self::Unit])

source§

fn faer_slice_as_simd_mut<S: Simd>( slice: &mut [Self::Unit] ) -> (&mut [Self::SimdUnit<S>], &mut [Self::Unit])

source§

fn faer_partial_load_last_unit<S: Simd>( simd: S, slice: &[Self::Unit] ) -> Self::SimdUnit<S>

source§

fn faer_partial_store_last_unit<S: Simd>( simd: S, slice: &mut [Self::Unit], values: Self::SimdUnit<S> )

source§

fn faer_partial_load_unit<S: Simd>( simd: S, slice: &[Self::Unit] ) -> Self::SimdUnit<S>

source§

fn faer_partial_store_unit<S: Simd>( simd: S, slice: &mut [Self::Unit], values: Self::SimdUnit<S> )

source§

fn faer_simd_splat_unit<S: Simd>(simd: S, unit: Self::Unit) -> Self::SimdUnit<S>

source§

fn faer_simd_neg<S: Simd>( simd: S, values: SimdGroupFor<Self, S> ) -> SimdGroupFor<Self, S>

source§

fn faer_simd_conj<S: Simd>( simd: S, values: SimdGroupFor<Self, S> ) -> SimdGroupFor<Self, S>

source§

fn faer_simd_add<S: Simd>( simd: S, lhs: SimdGroupFor<Self, S>, rhs: SimdGroupFor<Self, S> ) -> SimdGroupFor<Self, S>

source§

fn faer_simd_sub<S: Simd>( simd: S, lhs: SimdGroupFor<Self, S>, rhs: SimdGroupFor<Self, S> ) -> SimdGroupFor<Self, S>

source§

fn faer_simd_mul<S: Simd>( simd: S, lhs: SimdGroupFor<Self, S>, rhs: SimdGroupFor<Self, S> ) -> SimdGroupFor<Self, S>

source§

fn faer_simd_scale_real<S: Simd>( simd: S, lhs: SimdGroupFor<Self::Real, S>, rhs: SimdGroupFor<Self, S> ) -> SimdGroupFor<Self, S>

source§

fn faer_simd_conj_mul<S: Simd>( simd: S, lhs: SimdGroupFor<Self, S>, rhs: SimdGroupFor<Self, S> ) -> SimdGroupFor<Self, S>

source§

fn faer_simd_mul_adde<S: Simd>( simd: S, lhs: SimdGroupFor<Self, S>, rhs: SimdGroupFor<Self, S>, acc: SimdGroupFor<Self, S> ) -> SimdGroupFor<Self, S>

source§

fn faer_simd_conj_mul_adde<S: Simd>( simd: S, lhs: SimdGroupFor<Self, S>, rhs: SimdGroupFor<Self, S>, acc: SimdGroupFor<Self, S> ) -> SimdGroupFor<Self, S>

source§

fn faer_simd_reduce_add<S: Simd>(simd: S, values: SimdGroupFor<Self, S>) -> Self

source§

fn faer_simd_abs2_adde<S: Simd>( simd: S, values: SimdGroupFor<Self, S>, acc: SimdGroupFor<Self::Real, S> ) -> SimdGroupFor<Self::Real, S>

source§

fn faer_simd_abs2<S: Simd>( simd: S, values: SimdGroupFor<Self, S> ) -> SimdGroupFor<Self::Real, S>

source§

fn faer_simd_score<S: Simd>( simd: S, values: SimdGroupFor<Self, S> ) -> SimdGroupFor<Self::Real, S>

source§

fn faer_simd_scalar_mul<S: Simd>(simd: S, lhs: Self, rhs: Self) -> Self

source§

fn faer_simd_scalar_conj_mul<S: Simd>(simd: S, lhs: Self, rhs: Self) -> Self

source§

fn faer_simd_scalar_mul_adde<S: Simd>( simd: S, lhs: Self, rhs: Self, acc: Self ) -> Self

source§

fn faer_simd_scalar_conj_mul_adde<S: Simd>( simd: S, lhs: Self, rhs: Self, acc: Self ) -> Self

source§

fn faer_align_offset<S: Simd>( simd: S, ptr: *const UnitFor<Self>, len: usize ) -> Offset<SimdMaskFor<Self, S>>

source§

fn faer_slice_as_aligned_simd<S: Simd>( simd: S, slice: &[UnitFor<Self>], offset: Offset<SimdMaskFor<Self, S>> ) -> (Self::PrefixUnit<'_, S>, &[SimdUnitFor<Self, S>], Self::SuffixUnit<'_, S>)

source§

fn faer_slice_as_aligned_simd_mut<S: Simd>( simd: S, slice: &mut [UnitFor<Self>], offset: Offset<SimdMaskFor<Self, S>> ) -> (Self::PrefixMutUnit<'_, S>, &mut [SimdUnitFor<Self, S>], Self::SuffixMutUnit<'_, S>)

source§

fn faer_simd_rotate_left<S: Simd>( simd: S, values: SimdGroupFor<Self, S>, amount: usize ) -> SimdGroupFor<Self, S>

source§

fn faer_is_nan(&self) -> bool

Returns true if self is a NaN value, or false otherwise.
source§

fn faer_is_finite(&self) -> bool

Returns true if self is a NaN value, or false otherwise.
source§

fn faer_partial_load<S>( simd: S, slice: <Self::Group as ForType>::FaerOf<&[Self::Unit]> ) -> <Self::Group as ForCopyType>::FaerOfCopy<Self::SimdUnit<S>>
where S: Simd,

source§

fn faer_partial_store<S>( simd: S, slice: <Self::Group as ForType>::FaerOf<&mut [Self::Unit]>, values: <Self::Group as ForCopyType>::FaerOfCopy<Self::SimdUnit<S>> )
where S: Simd,

source§

fn faer_partial_load_last<S>( simd: S, slice: <Self::Group as ForType>::FaerOf<&[Self::Unit]> ) -> <Self::Group as ForCopyType>::FaerOfCopy<Self::SimdUnit<S>>
where S: Simd,

source§

fn faer_partial_store_last<S>( simd: S, slice: <Self::Group as ForType>::FaerOf<&mut [Self::Unit]>, values: <Self::Group as ForCopyType>::FaerOfCopy<Self::SimdUnit<S>> )
where S: Simd,

source§

fn faer_simd_splat<S>( simd: S, value: Self ) -> <Self::Group as ForCopyType>::FaerOfCopy<Self::SimdUnit<S>>
where S: Simd,

source§

impl Conjugate for c64

§

type Conj = c64conj

Must have the same layout as Self, and Conj::Unit must have the same layout as Unit.
§

type Canonical = c64

Must have the same layout as Self, and Canonical::Unit must have the same layout as Unit.
source§

fn canonicalize(self) -> Self::Canonical

Performs the implicit conjugation operation on the given value, returning the canonical form.
source§

impl Debug for c64

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for c64

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Distribution<c64> for Standard

Available on crate feature rand only.
source§

fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> c64

Generate a random value of T, using rng as the source of randomness.
source§

fn sample_iter<R>(self, rng: R) -> DistIter<Self, R, T>
where R: Rng, Self: Sized,

Create an iterator that generates random values of T, using rng as the source of randomness. Read more
source§

fn map<F, S>(self, func: F) -> DistMap<Self, F, T, S>
where F: Fn(T) -> S, Self: Sized,

Create a distribution of values of ‘S’ by mapping the output of Self through the closure F Read more
source§

impl Distribution<c64> for StandardNormal

Available on crate feature rand only.
source§

fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> c64

Generate a random value of T, using rng as the source of randomness.
source§

fn sample_iter<R>(self, rng: R) -> DistIter<Self, R, T>
where R: Rng, Self: Sized,

Create an iterator that generates random values of T, using rng as the source of randomness. Read more
source§

fn map<F, S>(self, func: F) -> DistMap<Self, F, T, S>
where F: Fn(T) -> S, Self: Sized,

Create a distribution of values of ‘S’ by mapping the output of Self through the closure F Read more
source§

impl Div<c64> for c64conj

§

type Output = c64

The resulting type after applying the / operator.
source§

fn div(self, rhs: c64) -> Self::Output

Performs the / operation. Read more
source§

impl Div<c64> for f64

§

type Output = c64

The resulting type after applying the / operator.
source§

fn div(self, rhs: c64) -> Self::Output

Performs the / operation. Read more
source§

impl Div<c64conj> for c64

§

type Output = c64

The resulting type after applying the / operator.
source§

fn div(self, rhs: c64conj) -> Self::Output

Performs the / operation. Read more
source§

impl Div<f64> for c64

§

type Output = c64

The resulting type after applying the / operator.
source§

fn div(self, rhs: f64) -> Self::Output

Performs the / operation. Read more
source§

impl Div for c64

§

type Output = c64

The resulting type after applying the / operator.
source§

fn div(self, rhs: Self) -> Self::Output

Performs the / operation. Read more
source§

impl DivAssign<c64conj> for c64

source§

fn div_assign(&mut self, rhs: c64conj)

Performs the /= operation. Read more
source§

impl DivAssign<f64> for c64

source§

fn div_assign(&mut self, rhs: f64)

Performs the /= operation. Read more
source§

impl DivAssign for c64

source§

fn div_assign(&mut self, rhs: c64)

Performs the /= operation. Read more
source§

impl Entity for c64

§

type Unit = c64

§

type Index = u64

§

type SimdUnit<S: Simd> = <S as Simd>::c64s

§

type SimdMask<S: Simd> = <S as Simd>::m64s

§

type SimdIndex<S: Simd> = <S as Simd>::u64s

§

type Group = IdentityGroup

§

type Iter<I: Iterator> = I

§

type PrefixUnit<'a, S: Simd> = Prefix<'a, Complex<f64>, S, <S as Simd>::m64s>

§

type SuffixUnit<'a, S: Simd> = Suffix<'a, Complex<f64>, S, <S as Simd>::m64s>

§

type PrefixMutUnit<'a, S: Simd> = PrefixMut<'a, Complex<f64>, S, <S as Simd>::m64s>

§

type SuffixMutUnit<'a, S: Simd> = SuffixMut<'a, Complex<f64>, S, <S as Simd>::m64s>

source§

const N_COMPONENTS: usize = 1usize

source§

const UNIT: GroupCopyFor<Self, ()> = ()

source§

fn faer_first<T>(group: GroupFor<Self, T>) -> T

source§

fn faer_from_units(group: GroupFor<Self, Self::Unit>) -> Self

source§

fn faer_into_units(self) -> GroupFor<Self, Self::Unit>

source§

fn faer_as_ref<T>(group: &GroupFor<Self, T>) -> GroupFor<Self, &T>

source§

fn faer_as_mut<T>(group: &mut GroupFor<Self, T>) -> GroupFor<Self, &mut T>

source§

fn faer_as_ptr<T>(group: *mut GroupFor<Self, T>) -> GroupFor<Self, *mut T>

source§

fn faer_map_impl<T, U>( group: GroupFor<Self, T>, f: &mut impl FnMut(T) -> U ) -> GroupFor<Self, U>

source§

fn faer_map_with_context<Ctx, T, U>( ctx: Ctx, group: GroupFor<Self, T>, f: &mut impl FnMut(Ctx, T) -> (Ctx, U) ) -> (Ctx, GroupFor<Self, U>)

source§

fn faer_zip<T, U>( first: GroupFor<Self, T>, second: GroupFor<Self, U> ) -> GroupFor<Self, (T, U)>

source§

fn faer_unzip<T, U>( zipped: GroupFor<Self, (T, U)> ) -> (GroupFor<Self, T>, GroupFor<Self, U>)

source§

fn faer_into_iter<I: IntoIterator>( iter: GroupFor<Self, I> ) -> Self::Iter<I::IntoIter>

source§

fn faer_map<T, U>( group: <Self::Group as ForType>::FaerOf<T>, f: impl FnMut(T) -> U ) -> <Self::Group as ForType>::FaerOf<U>

source§

fn faer_unzip2<T>( zipped: <Self::Group as ForType>::FaerOf<[T; 2]> ) -> [<Self::Group as ForType>::FaerOf<T>; 2]

source§

fn faer_unzip4<T>( zipped: <Self::Group as ForType>::FaerOf<[T; 4]> ) -> [<Self::Group as ForType>::FaerOf<T>; 4]

source§

fn faer_unzip8<T>( zipped: <Self::Group as ForType>::FaerOf<[T; 8]> ) -> [<Self::Group as ForType>::FaerOf<T>; 8]

source§

fn faer_as_arrays<const N: usize, T>( group: <Self::Group as ForType>::FaerOf<&[T]> ) -> (<Self::Group as ForType>::FaerOf<&[[T; N]]>, <Self::Group as ForType>::FaerOf<&[T]>)

source§

fn faer_as_arrays_mut<const N: usize, T>( group: <Self::Group as ForType>::FaerOf<&mut [T]> ) -> (<Self::Group as ForType>::FaerOf<&mut [[T; N]]>, <Self::Group as ForType>::FaerOf<&mut [T]>)

source§

fn faer_deref<T>( group: <Self::Group as ForType>::FaerOf<&T> ) -> <Self::Group as ForType>::FaerOf<T>
where T: Copy,

source§

fn faer_rb<'short, T>( value: <Self::Group as ForType>::FaerOf<&'short T> ) -> <Self::Group as ForType>::FaerOf<<T as Reborrow<'short>>::Target>
where T: Reborrow<'short>,

source§

fn faer_rb_mut<'short, T>( value: <Self::Group as ForType>::FaerOf<&'short mut T> ) -> <Self::Group as ForType>::FaerOf<<T as ReborrowMut<'short>>::Target>
where T: ReborrowMut<'short>,

source§

fn faer_into_const<T>( value: <Self::Group as ForType>::FaerOf<T> ) -> <Self::Group as ForType>::FaerOf<<T as IntoConst>::Target>
where T: IntoConst,

source§

fn faer_copy<T>( x: &<Self::Group as ForType>::FaerOf<T> ) -> <Self::Group as ForType>::FaerOf<T>
where T: Copy,

source§

impl<'a> From<&'a f64> for c64

source§

fn from(value: &'a f64) -> Self

Converts to this type from the input type.
source§

impl From<Complex<f64>> for c64

source§

fn from(value: Complex64) -> Self

Converts to this type from the input type.
source§

impl From<c64> for Complex64

source§

fn from(value: c64) -> Self

Converts to this type from the input type.
source§

impl From<f64> for c64

source§

fn from(value: f64) -> Self

Converts to this type from the input type.
source§

impl FromNpy for c64

Available on crate features std and npy only.
source§

const DTYPE: NpyDType = NpyDType::C64

Data type of the buffer data.
source§

impl Inv for c64

§

type Output = c64

The result after applying the operator.
source§

fn inv(self) -> Self::Output

Returns the multiplicative inverse of self. Read more
source§

impl Mul<c64> for c64conj

§

type Output = c64

The resulting type after applying the * operator.
source§

fn mul(self, rhs: c64) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<c64> for f64

§

type Output = c64

The resulting type after applying the * operator.
source§

fn mul(self, rhs: c64) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<c64conj> for c64

§

type Output = c64

The resulting type after applying the * operator.
source§

fn mul(self, rhs: c64conj) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<f64> for c64

§

type Output = c64

The resulting type after applying the * operator.
source§

fn mul(self, rhs: f64) -> Self::Output

Performs the * operation. Read more
source§

impl Mul for c64

§

type Output = c64

The resulting type after applying the * operator.
source§

fn mul(self, rhs: Self) -> Self::Output

Performs the * operation. Read more
source§

impl MulAssign<c64conj> for c64

source§

fn mul_assign(&mut self, rhs: c64conj)

Performs the *= operation. Read more
source§

impl MulAssign<f64> for c64

source§

fn mul_assign(&mut self, rhs: f64)

Performs the *= operation. Read more
source§

impl MulAssign for c64

source§

fn mul_assign(&mut self, rhs: c64)

Performs the *= operation. Read more
source§

impl Neg for c64

§

type Output = c64

The resulting type after applying the - operator.
source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
source§

impl Num for c64

§

type FromStrRadixErr = ParseComplexError<<f64 as Num>::FromStrRadixErr>

source§

fn from_str_radix(str: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>

Convert from a string and radix (typically 2..=36). Read more
source§

impl One for c64

source§

fn one() -> Self

Returns the multiplicative identity element of Self, 1. Read more
source§

fn is_one(&self) -> bool

Returns true if self is equal to the multiplicative identity. Read more
source§

fn set_one(&mut self)

Sets self to the multiplicative identity element of Self, 1.
source§

impl PartialEq for c64

source§

fn eq(&self, other: &c64) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Rem<c64> for c64conj

§

type Output = c64

The resulting type after applying the % operator.
source§

fn rem(self, rhs: c64) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<c64> for f64

§

type Output = c64

The resulting type after applying the % operator.
source§

fn rem(self, rhs: c64) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<c64conj> for c64

§

type Output = c64

The resulting type after applying the % operator.
source§

fn rem(self, rhs: c64conj) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<f64> for c64

§

type Output = c64

The resulting type after applying the % operator.
source§

fn rem(self, rhs: f64) -> Self::Output

Performs the % operation. Read more
source§

impl Rem for c64

§

type Output = c64

The resulting type after applying the % operator.
source§

fn rem(self, rhs: Self) -> Self::Output

Performs the % operation. Read more
source§

impl RemAssign<c64conj> for c64

source§

fn rem_assign(&mut self, rhs: c64conj)

Performs the %= operation. Read more
source§

impl RemAssign<f64> for c64

source§

fn rem_assign(&mut self, rhs: f64)

Performs the %= operation. Read more
source§

impl RemAssign for c64

source§

fn rem_assign(&mut self, rhs: c64)

Performs the %= operation. Read more
source§

impl Sub<c64> for c64conj

§

type Output = c64

The resulting type after applying the - operator.
source§

fn sub(self, rhs: c64) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<c64> for f64

§

type Output = c64

The resulting type after applying the - operator.
source§

fn sub(self, rhs: c64) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<c64conj> for c64

§

type Output = c64

The resulting type after applying the - operator.
source§

fn sub(self, rhs: c64conj) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<f64> for c64

§

type Output = c64

The resulting type after applying the - operator.
source§

fn sub(self, rhs: f64) -> Self::Output

Performs the - operation. Read more
source§

impl Sub for c64

§

type Output = c64

The resulting type after applying the - operator.
source§

fn sub(self, rhs: Self) -> Self::Output

Performs the - operation. Read more
source§

impl SubAssign<c64conj> for c64

source§

fn sub_assign(&mut self, rhs: c64conj)

Performs the -= operation. Read more
source§

impl SubAssign<f64> for c64

source§

fn sub_assign(&mut self, rhs: f64)

Performs the -= operation. Read more
source§

impl SubAssign for c64

source§

fn sub_assign(&mut self, rhs: c64)

Performs the -= operation. Read more
source§

impl Zero for c64

source§

fn zero() -> Self

Returns the additive identity element of Self, 0. Read more
source§

fn is_zero(&self) -> bool

Returns true if self is equal to the additive identity.
source§

fn set_zero(&mut self)

Sets self to the additive identity element of Self, 0.
source§

impl Zeroable for c64

source§

fn zeroed() -> Self

source§

impl Copy for c64

source§

impl Pod for c64

source§

impl StructuralPartialEq for c64

Auto Trait Implementations§

§

impl RefUnwindSafe for c64

§

impl Send for c64

§

impl Sync for c64

§

impl Unpin for c64

§

impl UnwindSafe for c64

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CheckedBitPattern for T
where T: AnyBitPattern,

§

type Bits = T

Self must have the same layout as the specified Bits except for the possible invalid bit patterns being checked during is_valid_bit_pattern.
source§

fn is_valid_bit_pattern(_bits: &T) -> bool

If this function returns true, then it must be valid to reinterpret bits as &Self.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Pointable for T

source§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> AnyBitPattern for T
where T: Pod,

source§

impl<T> Boilerplate for T
where T: Copy + Send + Sync + Debug + PartialEq + 'static,

source§

impl<T> NoUninit for T
where T: Pod,

source§

impl<T> NumAssign for T
where T: Num + NumAssignOps,

source§

impl<T, Rhs> NumAssignOps<Rhs> for T
where T: AddAssign<Rhs> + SubAssign<Rhs> + MulAssign<Rhs> + DivAssign<Rhs> + RemAssign<Rhs>,

source§

impl<T, Rhs, Output> NumOps<Rhs, Output> for T
where T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,

source§

impl<E> SimpleEntity for E
where E: Entity<Group = IdentityGroup, Unit = E>,