pic_iamax Interface

public interface pic_iamax

general interface of the BLAS IAMAX routines, will call ISAMAX, IDAMAX, ICAMAX, IZAMAX

Usage: idx = pic_iamax(x, incx)

where x is the input vector, incx is the increment. The vector x must be an allocatable array, we deduce the shape from it. The increment incx is 1 by default.

Calls

interface~~pic_iamax~~CallsGraph interface~pic_iamax pic_iamax proc~pic_icamax pic_icamax interface~pic_iamax->proc~pic_icamax proc~pic_idamax pic_idamax interface~pic_iamax->proc~pic_idamax proc~pic_isamax pic_isamax interface~pic_iamax->proc~pic_isamax proc~pic_izamax pic_izamax interface~pic_iamax->proc~pic_izamax interface~blas_iamax blas_iamax proc~pic_icamax->interface~blas_iamax proc~pic_idamax->interface~blas_iamax proc~pic_isamax->interface~blas_iamax proc~pic_izamax->interface~blas_iamax

Module Procedures

private function pic_isamax(x) result(idx)

interface for single precision index of maximum absolute value

Arguments

Type IntentOptional Attributes Name
real(kind=sp), intent(in) :: x(:)

Return Value integer(kind=default_int)

private function pic_idamax(x) result(idx)

interface for double precision index of maximum absolute value

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in) :: x(:)

Return Value integer(kind=default_int)

private function pic_icamax(x) result(idx)

interface for single precision complex index of maximum absolute value

Arguments

Type IntentOptional Attributes Name
complex(kind=sp), intent(in) :: x(:)

Return Value integer(kind=default_int)

private function pic_izamax(x) result(idx)

interface for double precision complex index of maximum absolute value

Arguments

Type IntentOptional Attributes Name
complex(kind=dp), intent(in) :: x(:)

Return Value integer(kind=default_int)