Struct rusty_machine::learning::gp::ConstMean [] [src]

pub struct ConstMean {
    // some fields omitted
}

Constant mean function

Trait Implementations

impl Debug for ConstMean
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Copy for ConstMean
[src]

impl Clone for ConstMean
[src]

fn clone(&self) -> ConstMean

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Default for ConstMean
[src]

Constructs the zero function.

fn default() -> ConstMean

Returns the "default value" for a type. Read more

impl MeanFunc for ConstMean
[src]

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

Compute the mean function applied elementwise to a matrix.