summaryrefslogtreecommitdiff
path: root/BLAS/SRC/dcabs1.f
diff options
context:
space:
mode:
authorlangou <langou@users.noreply.github.com>2014-02-10 19:55:39 +0000
committerlangou <langou@users.noreply.github.com>2014-02-10 19:55:39 +0000
commit54d66c762f545a634179707f1cd661989ea33a5f (patch)
treedad0d3ff313ba648766d9a1f1a6c56199caf4198 /BLAS/SRC/dcabs1.f
parentdf747406083c0d2a08d7e2c9b8ad7b93a570e104 (diff)
downloadlapack-54d66c762f545a634179707f1cd661989ea33a5f.tar.gz
lapack-54d66c762f545a634179707f1cd661989ea33a5f.tar.bz2
lapack-54d66c762f545a634179707f1cd661989ea33a5f.zip
( Let me know if I broke anything. I double checked. We should be fine but )
( please let me know if concerns/problems. ) 1) The comments in ICMAX1 (resp. IZMAX1) were not correct. The comments read: "ICMAX1 finds the index of the element whose real part has maximum absolute value." It should have read: "ICMAX1 finds the index of the first vector element of maximum absolute value." This is corrected. The problem was reported Eloy Romero Alcalde from the SLEPc team, Universitat Politècnica de València and confirmed by Nick Higham, Sven Hammarling and Julien Langou. 2) The routine ICAMAX (resp. IZAMAX) from the BLAS evolved without ICMAX1 (resp. IZMAX1). Reconcialated both version. So essentially took the ICAMAX currently in the BLAS and changed it appropriately for an ICMAX1. 3) Remove the use of statement function in ICMAX1 (resp. IZMAX1). Now obsolete in FORTRAN. 4) Change comments in BLAS routines: SCABS1, DCABS1, ICAMAX, IZAMAX, SCASUM, and DZASUM. Remove the use of "absolute value of a complex number" for the quantity "| Re(.) | + | Im(.) |". For example: before DCABS1 computes absolute value of a double complex number after DCABS1 computes |Re(.)| + |Im(.)| of a double complex number
Diffstat (limited to 'BLAS/SRC/dcabs1.f')
-rw-r--r--BLAS/SRC/dcabs1.f2
1 files changed, 1 insertions, 1 deletions
diff --git a/BLAS/SRC/dcabs1.f b/BLAS/SRC/dcabs1.f
index f6debb9a..f94a7c87 100644
--- a/BLAS/SRC/dcabs1.f
+++ b/BLAS/SRC/dcabs1.f
@@ -21,7 +21,7 @@
*>
*> \verbatim
*>
-*> DCABS1 computes absolute value of a double complex number
+*> DCABS1 computes |Re(.)| + |Im(.)| of a double complex number
*> \endverbatim
*
* Authors: