1
2
3
4
5
6
7
use crate::Function;

impl Function {
    pub fn call(&self, x: f64) -> f64 {
        self.elementary().clone().call()(x)
    }
}