Added structure for diff model.

This commit is contained in:
2020-03-06 16:29:57 +01:00
parent 67d1412af8
commit 9490bffd1e
5 changed files with 140 additions and 6 deletions

View File

@@ -161,12 +161,6 @@ impl Kernel for Vec<Box<dyn Kernel>> {
transition
}
/*
def transition(self, t1, t2):
mats = [k.transition(t1, t2) for k in self.parts]
return block_diag(*mats)
*/
fn noise_cov(&self, t0: f64, t1: f64) -> Array2<f64> {
let data = self
.iter()