Skip to main content

ArgAgg

Trait ArgAgg 

Source
pub trait ArgAgg {
    // Required methods
    fn arg_min(&self) -> Option<usize>;
    fn arg_max(&self) -> Option<usize>;
}
Expand description

Argmin/ Argmax

Required Methods§

Source

fn arg_min(&self) -> Option<usize>

Get the index of the minimal value

Source

fn arg_max(&self) -> Option<usize>

Get the index of the maximal value

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ArgAgg for Series

Implementors§