pub struct Table<T>(/* private fields */);Implementations§
Trait Implementations§
Source§impl Enumerable<()> for Table<Array1<f64>>
impl Enumerable<()> for Table<Array1<f64>>
fn len(&self, _: ()) -> usize
fn evaluate_index( &self, args: Args, index: usize, ) -> <Self::Output as Index<usize>>::Output
fn find_min( &self, args: Args, ) -> (usize, <Self::Output as Index<usize>>::Output)
fn find_max( &self, args: Args, ) -> (usize, <Self::Output as Index<usize>>::Output)
fn expected_value<I: IntoIterator<Item = f64>>(&self, args: Args, ps: I) -> f64
Source§impl<S: Borrow<usize>> Enumerable<(S,)> for Table<Array2<f64>>
impl<S: Borrow<usize>> Enumerable<(S,)> for Table<Array2<f64>>
fn len(&self, _: (S,)) -> usize
fn evaluate_index( &self, args: Args, index: usize, ) -> <Self::Output as Index<usize>>::Output
fn find_min( &self, args: Args, ) -> (usize, <Self::Output as Index<usize>>::Output)
fn find_max( &self, args: Args, ) -> (usize, <Self::Output as Index<usize>>::Output)
fn expected_value<I: IntoIterator<Item = f64>>(&self, args: Args, ps: I) -> f64
Source§impl<S: Borrow<usize>, A: Borrow<usize>> Handler<StateActionUpdate<S, A>> for Table<Array2<f64>>
impl<S: Borrow<usize>, A: Borrow<usize>> Handler<StateActionUpdate<S, A>> for Table<Array2<f64>>
Source§impl Parameterised for Table<Array1<f64>>
impl Parameterised for Table<Array1<f64>>
Source§fn weights_view(&self) -> WeightsView<'_>
fn weights_view(&self) -> WeightsView<'_>
Return a read-only view of the weights.
Source§fn weights_view_mut(&mut self) -> WeightsViewMut<'_>
fn weights_view_mut(&mut self) -> WeightsViewMut<'_>
Return a mutable view of the weights.
Source§fn weights_dim(&self) -> (usize, usize)
fn weights_dim(&self) -> (usize, usize)
Return the dimensions of the weight matrix.
fn n_weights(&self) -> usize
Source§impl Parameterised for Table<Array2<f64>>
impl Parameterised for Table<Array2<f64>>
Source§fn weights_view(&self) -> WeightsView<'_>
fn weights_view(&self) -> WeightsView<'_>
Return a read-only view of the weights.
Source§fn weights_view_mut(&mut self) -> WeightsViewMut<'_>
fn weights_view_mut(&mut self) -> WeightsViewMut<'_>
Return a mutable view of the weights.
Source§fn weights_dim(&self) -> (usize, usize)
fn weights_dim(&self) -> (usize, usize)
Return the dimensions of the weight matrix.
fn n_weights(&self) -> usize
Auto Trait Implementations§
impl<T> Freeze for Table<T>where
T: Freeze,
impl<T> RefUnwindSafe for Table<T>where
T: RefUnwindSafe,
impl<T> Send for Table<T>where
T: Send,
impl<T> Sync for Table<T>where
T: Sync,
impl<T> Unpin for Table<T>where
T: Unpin,
impl<T> UnsafeUnpin for Table<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Table<T>where
T: UnwindSafe,
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