Skip to main content

MeanFunc

Trait MeanFunc 

Source
pub trait MeanFunc {
    // Required method
    fn func(&self, x: Matrix<f64>) -> Vector<f64>;
}
Expand description

Trait for GP mean functions.

Required Methods§

Source

fn func(&self, x: Matrix<f64>) -> Vector<f64>

Compute the mean function applied elementwise to a matrix.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§