[][src]Trait lfa::core::Parameterised

pub trait Parameterised {
    fn weights_view(&self) -> MatrixView<f64>;
fn weights_view_mut(&mut self) -> MatrixViewMut<f64>; fn weights(&self) -> Matrix<f64> { ... }
fn weights_dim(&self) -> (usize, usize) { ... } }

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.

Loading content...

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.

Loading content...

Implementors

impl Parameterised for PairFunction[src]

impl Parameterised for ScalarFunction[src]

impl Parameterised for TripleFunction[src]

impl Parameterised for VectorFunction[src]

impl<P, E> Parameterised for LFA<P, E> where
    E: Parameterised
[src]

impl<P, E, T> Parameterised for TransformedLFA<P, E, T> where
    E: Parameterised
[src]

Loading content...