#[derive(Debug, Clone, Copy, PartialEq)]
pub enum BoundaryMode<T> {
    /// Reflects the data: \`d c b a | a b c d | d c b a\`
    /// This is the default behavior in SciPy.
    Reflect,
    /// Nearest edge value: \`a a a a | a b c d | d d d d\`
    Nearest,
    /// Constant value: \`v v v v | a b c d | v v v v\`
    Constant(T),
}