[−][src]Trait lfa::core::Parameterised
An interface for types parameterised by a matrix of weights.
Required methods
fn weights_view(&self) -> MatrixView<f64>
Return a read-only view of the weights.
fn weights_view_mut(&mut self) -> MatrixViewMut<f64>
Return a mutable view of the weights.
Provided methods
fn weights(&self) -> Matrix<f64>
Return a clone of the weights.
fn weights_dim(&self) -> (usize, usize)
Return the dimensions of the weight matrix.
Implementors
impl Parameterised for PairFunction
[src]
fn weights(&self) -> Matrix<f64>
[src]
fn weights_dim(&self) -> (usize, usize)
[src]
fn weights_view(&self) -> MatrixView<f64>
[src]
fn weights_view_mut(&mut self) -> MatrixViewMut<f64>
[src]
impl Parameterised for ScalarFunction
[src]
fn weights_dim(&self) -> (usize, usize)
[src]
fn weights_view(&self) -> MatrixView<f64>
[src]
fn weights_view_mut(&mut self) -> MatrixViewMut<f64>
[src]
fn weights(&self) -> Matrix<f64>
[src]
impl Parameterised for TripleFunction
[src]
fn weights(&self) -> Matrix<f64>
[src]
fn weights_dim(&self) -> (usize, usize)
[src]
fn weights_view(&self) -> MatrixView<f64>
[src]
fn weights_view_mut(&mut self) -> MatrixViewMut<f64>
[src]
impl Parameterised for VectorFunction
[src]
fn weights(&self) -> Matrix<f64>
[src]
fn weights_dim(&self) -> (usize, usize)
[src]
fn weights_view(&self) -> MatrixView<f64>
[src]
fn weights_view_mut(&mut self) -> MatrixViewMut<f64>
[src]
impl<P, E> Parameterised for LFA<P, E> where
E: Parameterised,
[src]
E: Parameterised,
fn weights(&self) -> Matrix<f64>
[src]
fn weights_dim(&self) -> (usize, usize)
[src]
fn weights_view(&self) -> MatrixView<f64>
[src]
fn weights_view_mut(&mut self) -> MatrixViewMut<f64>
[src]
impl<P, E, T> Parameterised for TransformedLFA<P, E, T> where
E: Parameterised,
[src]
E: Parameterised,