Function net_ensembles::sampling::glue::derivative::derivative_merged
source · [−]Expand description
Calculates the derivative of a Vector
- Uses five-point stencil method if more than 4 points are in the vector
- Otherwise uses other derivative
- will return a Vector of NaN if
data.len() < 2