Initial commit. Basic structure in place, need to implement logic.

This commit is contained in:
2020-02-06 10:01:43 +01:00
commit dc545e4063
9 changed files with 148 additions and 0 deletions

14
src/kernel/exponential.rs Normal file
View File

@@ -0,0 +1,14 @@
use super::Kernel;
pub struct Exponential {
var: f64,
l_scale: f64,
}
impl Exponential {
pub fn new(var: f64, l_scale: f64) -> Self {
Exponential { var, l_scale }
}
}
impl Kernel for Exponential {}