Skip to main content

EntrywiseMax

Trait EntrywiseMax 

Source
pub trait EntrywiseMax<RHS = Self> {
    type Output;

    // Required method
    fn entrywise_max(self, other: RHS) -> Self::Output;
}
Expand description

Takes the entrywise maximum of two values, such as two vectors of the same dimension: the value whose every entry is the larger of the corresponding entries.

Required Associated Types§

Required Methods§

Source

fn entrywise_max(self, other: RHS) -> Self::Output

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§