Trait rust_blas::vector::ops::Iamax

source ·
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§

source

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

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Iamax for f32

source§

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

source§

impl Iamax for f64

source§

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

source§

impl Iamax for Complex32

source§

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

source§

impl Iamax for Complex64

source§

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

Implementors§