Handbook
Glossary
Viamax ( x -- max-i )
Basic Linear Algebra Subroutines (BLAS) interface
ยป
BLAS interface vector operations
Prev:
Vasum ( x -- sum )
Next:
Vamax ( x -- max )
Vocabulary
math
.
blas
.
vectors
Inputs
x
a
blas-vector-base
Outputs
max-i
an
integer
Word description
Return the index of the element in
x
with the largest norm-1. If more than one element has the same norm-1, returns the smallest index. Corresponds to the IxAMAX routines in BLAS.
See also
Vamax
Definition
IN:
math.blas.vectors
GENERIC:
Viamax
( x -- max-i )
Methods
USING:
math
math.blas.ffi
math.blas.vectors
math.blas.vectors.private
;
M:
complex-double-blas-vector
Viamax
(prepare-nrm2)
IZAMAX
1
-
;
USING:
math
math.blas.ffi
math.blas.vectors
math.blas.vectors.private
;
M:
complex-float-blas-vector
Viamax
(prepare-nrm2)
ICAMAX
1
-
;
USING:
math
math.blas.ffi
math.blas.vectors
math.blas.vectors.private
;
M:
double-blas-vector
Viamax
(prepare-nrm2)
IDAMAX
1
-
;
USING:
math
math.blas.ffi
math.blas.vectors
math.blas.vectors.private
;
M:
float-blas-vector
Viamax
(prepare-nrm2)
ISAMAX
1
-
;