This commit is contained in:
2021-01-04 14:31:32 +01:00
parent b7cc1a9b9f
commit 7df982d819

View File

@@ -35,18 +35,8 @@ pub trait Kernel {
fn measurement_vector(&self) -> Array1<f64>; fn measurement_vector(&self) -> Array1<f64>;
fn feedback(&self) -> Array2<f64>; fn feedback(&self) -> Array2<f64>;
fn transition(&self, t0: f64, t1: f64) -> Array2<f64>; fn transition(&self, t0: f64, t1: f64) -> Array2<f64>;
fn noise_effect(&self) -> Array2<f64>;
fn noise_effect(&self) -> Array2<f64> { fn noise_cov(&self, t0: f64, t1: f64) -> Array2<f64>;
unimplemented!();
}
fn noise_density(&self) -> Array2<f64> {
unimplemented!();
}
fn noise_cov(&self, _t0: f64, _t1: f64) -> Array2<f64> {
unimplemented!();
}
} }
impl Kernel for Vec<Box<dyn Kernel>> { impl Kernel for Vec<Box<dyn Kernel>> {