Optional Input Parameters

None.

Input Parameters Omitted from the MATLAB Interface

None.

Output Parameters

1:
k – int64int32nag_int scalar

kk, the index, from the set {1,1 + |incx|, … ,1 + (n − 1) × |incx|}{1,1+|incx|,…,1+(n-1)×|incx|}, of the largest component of xx with respect to absolute value. If n ≤ 0n≤0 on input then k is returned as 00.

2:
r – double scalar

rr, the largest component of xx with respect to absolute value. If n ≤ 0n≤0 on input then r is returned as 0.00.0.