1use ndarray::{Array, Dimension}; 2use crate::Signal; 3 4 5impl<D: Dimension> Signal<Array<f32, D>> { 6 pub fn exp(&self) -> Self { 7 Signal { 8 value: self.value.map(|v| v.exp()), 9 amp: self.amp.exp() 10 } 11 } 12}