[−][src]Struct num_complex::ComplexDistribution
A generic random value distribution for complex numbers.
Implementations
impl<Re, Im> ComplexDistribution<Re, Im>
[src]
pub fn new(re: Re, im: Im) -> Self
[src]
Creates a complex distribution from independent distributions of the real and imaginary parts.
Trait Implementations
impl<Re: Clone, Im: Clone> Clone for ComplexDistribution<Re, Im>
[src]
fn clone(&self) -> ComplexDistribution<Re, Im>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<Re: Copy, Im: Copy> Copy for ComplexDistribution<Re, Im>
[src]
impl<Re: Debug, Im: Debug> Debug for ComplexDistribution<Re, Im>
[src]
impl<T, Re, Im> Distribution<Complex<T>> for ComplexDistribution<Re, Im> where
T: Num + Clone,
Re: Distribution<T>,
Im: Distribution<T>,
[src]
T: Num + Clone,
Re: Distribution<T>,
Im: Distribution<T>,
Auto Trait Implementations
impl<Re, Im> RefUnwindSafe for ComplexDistribution<Re, Im> where
Im: RefUnwindSafe,
Re: RefUnwindSafe,
Im: RefUnwindSafe,
Re: RefUnwindSafe,
impl<Re, Im> Send for ComplexDistribution<Re, Im> where
Im: Send,
Re: Send,
Im: Send,
Re: Send,
impl<Re, Im> Sync for ComplexDistribution<Re, Im> where
Im: Sync,
Re: Sync,
Im: Sync,
Re: Sync,
impl<Re, Im> Unpin for ComplexDistribution<Re, Im> where
Im: Unpin,
Re: Unpin,
Im: Unpin,
Re: Unpin,
impl<Re, Im> UnwindSafe for ComplexDistribution<Re, Im> where
Im: UnwindSafe,
Re: UnwindSafe,
Im: UnwindSafe,
Re: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,