A lot of progress.
This commit is contained in:
@@ -34,7 +34,15 @@ impl Kernel for Exponential {
|
||||
array![1.0]
|
||||
}
|
||||
|
||||
fn feedback(&self) -> Array2<f64> {
|
||||
(-1.0 / self.l_scale) * array![[1.0]]
|
||||
}
|
||||
|
||||
fn transition(&self, t0: f64, t1: f64) -> Array2<f64> {
|
||||
todo!();
|
||||
-(t1 - t0) / self.l_scale * array![[1.0]]
|
||||
}
|
||||
|
||||
fn noise_cov(&self, t0: f64, t1: f64) -> Array2<f64> {
|
||||
self.var * (1.0 - (-2.0 * (t1 - t0) / self.l_scale).exp()) * array![[1.0]]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user