?combamax1

Finds the element with maximum real part absolute value and its corresponding global index.

Syntax

call ccombamax1(v1, v2)

call zcombamax1(v1, v2)

Include Files

Description

The ?combamax1 routine finds the element having maximum real part absolute value as well as its corresponding global index.

Input Parameters

v1

(local)

COMPLEX for ccombamax1

COMPLEX*16 for zcombamax1 Array, DIMENSION 2. The first maximum absolute value element and its global index. v1(1)=amax, v1(2)=indx.

v2

(local)

COMPLEX for ccombamax1

COMPLEX*16 for zcombamax1

Array, DIMENSION 2. The second maximum absolute value element and its global index. v2(1)=amax, v2(2)=indx.

Output Parameters

v1

(local).

The first maximum absolute value element and its global index. v1(1)=amax, v1(2)=indx.


Submit feedback on this help topic