pub trait Iamax: Sized {
// Required method
fn iamax<V: ?Sized + Vector<Self>>(x: &V) -> usize;
}
Expand description
Finds the index of the element with maximum absolute value in a vector.
Complex vectors maximize the value |Re(x_k)| + |Im(x_k)|
.
The first index with a maximum is returned.
Required Methods§
Object Safety§
This trait is not object safe.