pub trait SimdOrd<T> {
    const MIN: T;
    const MAX: T;

    fn max_element(self) -> T;
    fn min_element(self) -> T;
    fn max_lane(self, x: Self) -> Self;
    fn min_lane(self, x: Self) -> Self;
    fn new_min() -> Self;
    fn new_max() -> Self;
}
Available on crate feature compute_aggregate only.
Expand description

Trait describing a type describing multiple lanes with an order relationship consistent with the same order of T.

Required Associated Constants

The minimum value

The maximum value

Required Methods

reduce itself to the minimum

reduce itself to the maximum

lane-wise maximum between two instances

lane-wise minimum between two instances

returns a new instance with all lanes equal to MIN

returns a new instance with all lanes equal to MAX

Implementors