nag_blast_damin_val (f16jr) computes, with respect to absolute value, the smallest component,
, of an
-element real vector
, and determines the smallest index,
, such that
Basic Linear Algebra Subprograms Technical (BLAST) Forum (2001)
Basic Linear Algebra Subprograms Technical (BLAST) Forum Standard University of Tennessee, Knoxville, Tennessee
http://www.netlib.org/blas/blast-forum/blas-report.pdf
None.
The BLAS standard requires accurate implementations which avoid unnecessary over/underflow (see Section 2.7 of
Basic Linear Algebra Subprograms Technical (BLAST) Forum (2001)).
None.
This example computes the smallest component with respect to absolute value and index of that component for the vector
function f16jr_example
fprintf('f16jr example results\n\n');
n = int64(5);
x = [1 10 11 -2 9];
incx = int64(1);
[xloc, xmin] = f16jr(n, x, incx);
fprintf('minabs(');
fprintf('%5.1f',x);
fprintf(') = |x(%4d)| = %5.1f\n', xloc, xmin);