pub struct NdarrayDataset<A1, A2, D1, D2>{
pub ndarrays: (Array<A1, D1>, Array<A2, D2>),
}
Expand description
Basic dataset than can contains two ndarray
of any dimension.
Fields§
§ndarrays: (Array<A1, D1>, Array<A2, D2>)
The content of the dataset.
Trait Implementations§
Source§impl<A1, A2, D1, D2> Clone for NdarrayDataset<A1, A2, D1, D2>
impl<A1, A2, D1, D2> Clone for NdarrayDataset<A1, A2, D1, D2>
Source§impl<A1, A2, D1, D2> Debug for NdarrayDataset<A1, A2, D1, D2>where
A1: Clone + Debug,
A2: Clone + Debug,
D1: Dimension + RemoveAxis + Debug,
D2: Dimension + RemoveAxis + Debug,
impl<A1, A2, D1, D2> Debug for NdarrayDataset<A1, A2, D1, D2>where
A1: Clone + Debug,
A2: Clone + Debug,
D1: Dimension + RemoveAxis + Debug,
D2: Dimension + RemoveAxis + Debug,
Source§impl<A1, A2, D1, D2> GetSample for NdarrayDataset<A1, A2, D1, D2>
impl<A1, A2, D1, D2> GetSample for NdarrayDataset<A1, A2, D1, D2>
Source§impl<A1, A2, D1, D2> Hash for NdarrayDataset<A1, A2, D1, D2>where
A1: Clone + Hash,
A2: Clone + Hash,
D1: Dimension + RemoveAxis + Hash,
D2: Dimension + RemoveAxis + Hash,
impl<A1, A2, D1, D2> Hash for NdarrayDataset<A1, A2, D1, D2>where
A1: Clone + Hash,
A2: Clone + Hash,
D1: Dimension + RemoveAxis + Hash,
D2: Dimension + RemoveAxis + Hash,
Source§impl<A1, A2, D1, D2> Len for NdarrayDataset<A1, A2, D1, D2>
impl<A1, A2, D1, D2> Len for NdarrayDataset<A1, A2, D1, D2>
Source§impl<A1, A2, D1, D2> PartialEq for NdarrayDataset<A1, A2, D1, D2>where
A1: Clone + PartialEq,
A2: Clone + PartialEq,
D1: Dimension + RemoveAxis + PartialEq,
D2: Dimension + RemoveAxis + PartialEq,
impl<A1, A2, D1, D2> PartialEq for NdarrayDataset<A1, A2, D1, D2>where
A1: Clone + PartialEq,
A2: Clone + PartialEq,
D1: Dimension + RemoveAxis + PartialEq,
D2: Dimension + RemoveAxis + PartialEq,
Source§fn eq(&self, other: &NdarrayDataset<A1, A2, D1, D2>) -> bool
fn eq(&self, other: &NdarrayDataset<A1, A2, D1, D2>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl<A1, A2, D1, D2> Dataset for NdarrayDataset<A1, A2, D1, D2>
impl<A1, A2, D1, D2> Eq for NdarrayDataset<A1, A2, D1, D2>where
A1: Clone + Eq,
A2: Clone + Eq,
D1: Dimension + RemoveAxis + Eq,
D2: Dimension + RemoveAxis + Eq,
impl<A1, A2, D1, D2> StructuralPartialEq for NdarrayDataset<A1, A2, D1, D2>
Auto Trait Implementations§
impl<A1, A2, D1, D2> Freeze for NdarrayDataset<A1, A2, D1, D2>
impl<A1, A2, D1, D2> RefUnwindSafe for NdarrayDataset<A1, A2, D1, D2>
impl<A1, A2, D1, D2> Send for NdarrayDataset<A1, A2, D1, D2>
impl<A1, A2, D1, D2> Sync for NdarrayDataset<A1, A2, D1, D2>
impl<A1, A2, D1, D2> Unpin for NdarrayDataset<A1, A2, D1, D2>
impl<A1, A2, D1, D2> UnwindSafe for NdarrayDataset<A1, A2, D1, D2>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more