Trait rblas::vector::ops::Iamax [] [src]

pub trait Iamax: Sized {
    fn iamax<V: ?Sized + Vector<Self>>(x: &V) -> usize;
}

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

fn iamax<V: ?Sized + Vector<Self>>(x: &V) -> usize

Implementors