Skip to main content

EntrywiseDivRound

Trait EntrywiseDivRound 

Source
pub trait EntrywiseDivRound<RHS> {
    type Output;

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

Divides every entry of a value, such as a vector, by a scalar, rounding each quotient according to a specified rounding mode.

Unlike DivRound, no Ordering is returned, since different entries may be rounded in different directions.

Required Associated Types§

Required Methods§

Source

fn entrywise_div_round(self, other: RHS, rm: RoundingMode) -> Self::Output

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§