adtensor
pub fn adscalar<T, P>(v: T, g: GenericArray<T, P>) -> ADScalar<T, P> where P: ArrayLength<T>,