pub trait ADVec { // Required methods fn to_ad_vec(&self) -> Vec<AD>; fn to_f64_vec(&self) -> Vec<f64>; }