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§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.