OMG, I'm close now!

This commit is contained in:
2020-02-20 14:36:44 +01:00
parent 6840699144
commit 9ac7e44776
5 changed files with 50 additions and 11 deletions

View File

@@ -39,7 +39,7 @@ impl Kernel for Exponential {
}
fn transition(&self, t0: f64, t1: f64) -> Array2<f64> {
-(t1 - t0) / self.l_scale * array![[1.0]]
(-(t1 - t0) / self.l_scale).exp() * array![[1.0]]
}
fn noise_cov(&self, t0: f64, t1: f64) -> Array2<f64> {