[−][src]Struct markovian::distributions::Binary
Concrete struct for the function of two Distributions`.
Examples
A Beta(2, 1) as the sum of two exponentials(1).
let beta = Binary::new(|x: f64, y: f64| x + y, Exp1, Exp1);
Implementations
impl<S1, S2, T, F, D1, D2> Binary<S1, S2, T, F, D1, D2> where
F: Fn(S1, S2) -> T,
D1: Distribution<S1>,
D2: Distribution<S2>,
[src]
F: Fn(S1, S2) -> T,
D1: Distribution<S1>,
D2: Distribution<S2>,
Trait Implementations
impl<S1: Clone, S2: Clone, T: Clone, F: Clone, D1: Clone, D2: Clone> Clone for Binary<S1, S2, T, F, D1, D2> where
F: Fn(S1, S2) -> T,
D1: Distribution<S1>,
D2: Distribution<S2>,
[src]
F: Fn(S1, S2) -> T,
D1: Distribution<S1>,
D2: Distribution<S2>,
fn clone(&self) -> Binary<S1, S2, T, F, D1, D2>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<S1: Copy, S2: Copy, T: Copy, F: Copy, D1: Copy, D2: Copy> Copy for Binary<S1, S2, T, F, D1, D2> where
F: Fn(S1, S2) -> T,
D1: Distribution<S1>,
D2: Distribution<S2>,
[src]
F: Fn(S1, S2) -> T,
D1: Distribution<S1>,
D2: Distribution<S2>,
impl<S1: Debug, S2: Debug, T: Debug, F: Debug, D1: Debug, D2: Debug> Debug for Binary<S1, S2, T, F, D1, D2> where
F: Fn(S1, S2) -> T,
D1: Distribution<S1>,
D2: Distribution<S2>,
[src]
F: Fn(S1, S2) -> T,
D1: Distribution<S1>,
D2: Distribution<S2>,
impl<S1, S2, T, F, D1, D2> Distribution<T> for Binary<S1, S2, T, F, D1, D2> where
F: Fn(S1, S2) -> T,
D1: Distribution<S1>,
D2: Distribution<S2>,
[src]
F: Fn(S1, S2) -> T,
D1: Distribution<S1>,
D2: Distribution<S2>,
Auto Trait Implementations
impl<S1, S2, T, F, D1, D2> RefUnwindSafe for Binary<S1, S2, T, F, D1, D2> where
D1: RefUnwindSafe,
D2: RefUnwindSafe,
F: RefUnwindSafe,
S1: RefUnwindSafe,
S2: RefUnwindSafe,
T: RefUnwindSafe,
D1: RefUnwindSafe,
D2: RefUnwindSafe,
F: RefUnwindSafe,
S1: RefUnwindSafe,
S2: RefUnwindSafe,
T: RefUnwindSafe,
impl<S1, S2, T, F, D1, D2> Send for Binary<S1, S2, T, F, D1, D2> where
D1: Send,
D2: Send,
F: Send,
S1: Send,
S2: Send,
T: Send,
D1: Send,
D2: Send,
F: Send,
S1: Send,
S2: Send,
T: Send,
impl<S1, S2, T, F, D1, D2> Sync for Binary<S1, S2, T, F, D1, D2> where
D1: Sync,
D2: Sync,
F: Sync,
S1: Sync,
S2: Sync,
T: Sync,
D1: Sync,
D2: Sync,
F: Sync,
S1: Sync,
S2: Sync,
T: Sync,
impl<S1, S2, T, F, D1, D2> Unpin for Binary<S1, S2, T, F, D1, D2> where
D1: Unpin,
D2: Unpin,
F: Unpin,
S1: Unpin,
S2: Unpin,
T: Unpin,
D1: Unpin,
D2: Unpin,
F: Unpin,
S1: Unpin,
S2: Unpin,
T: Unpin,
impl<S1, S2, T, F, D1, D2> UnwindSafe for Binary<S1, S2, T, F, D1, D2> where
D1: UnwindSafe,
D2: UnwindSafe,
F: UnwindSafe,
S1: UnwindSafe,
S2: UnwindSafe,
T: UnwindSafe,
D1: UnwindSafe,
D2: UnwindSafe,
F: UnwindSafe,
S1: UnwindSafe,
S2: UnwindSafe,
T: 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,
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.
fn to_owned(&self) -> T
[src]
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.
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.
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>,