Commit Graph
23 Commits
Author SHA1 Message Date
NAKATA Maho ac82605ea9 refactor: rename ABS1 statement function to CABS1 for consistency
Several LAPACK, BLAS, and CBLAS source files defined a local statement
function named ABS1 for the complex 1-norm approximation:

    ABS1( X ) = ABS( REAL( X ) ) + ABS( AIMAG( X ) )
    ABS1( X ) = ABS( DBLE( X ) ) + ABS( DIMAG( X ) )

The majority of the codebase already uses CABS1 for this identical
purpose. This commit renames ABS1 to CABS1 in all remaining files
(definition line, declaration line, and all call sites within the
same file) to make the naming consistent across the repository.

A small number of fixed-form lines required continuation-line splits
to stay within the 72-column limit after the rename.

No numerical change. Statement functions are file-local in Fortran,
so there is no ABI or interface impact.

This is a preparatory cleanup before inlining these statement
functions (see issue #1200).
2026-03-28 14:46:42 +09:00
Mark Gates 97b0bedb32 implicit none in BLAS 2025-08-22 01:02:05 -04:00
Martin Köhler 4c637b8329 Fix the test of xGEMMTR
- make the SRNAME in XERBLA more robust against strings passed from C (e.g. OpenBLAS)
- adjust the maximum length of a function name from 6 to 7 characters
- add a missing parameter in the error output for z/cgemmtr.
2025-02-06 15:20:50 +01:00
Martin Köhler cb81e003b8 Adjust BLAS test for routine names with at most 7 characters 2024-06-24 14:04:03 +02:00
Martin Köhler 327869db1b Rename GEMMT to GEMMTR in BLAS/
After the discussion on

    https://github.com/Reference-LAPACK/lapack/pull/887

the name changed from xGEMMT to xGEMMTR.
2024-06-24 14:04:03 +02:00
Martin Köhler 785d734bf5 Fix wrong write 2024-06-24 14:04:02 +02:00
Martin Köhler 6f66c83ae0 Remove useless variable 2024-06-24 14:04:02 +02:00
Martin Köhler 05d01da9f2 Fix missing comma 2024-06-24 14:04:02 +02:00
Martin Köhler 2f80551ce3 Fix further implicit variables 2024-06-24 14:04:02 +02:00
Martin Köhler 19b00163aa Add xGEMMT and their test cases
The xGEMMT subroutines are added in the Fortran
API. The tests are updated as well.
2024-06-24 14:04:02 +02:00
Igor Zhuravlov f93833ea2a comments unified: EOLs at EOF 2021-04-06 18:07:24 -03:00
Igor Zhuravlov 5f58f3cae6 comments unified: 'End of' comment: trash removed at the end of line 2021-04-06 18:07:14 -03:00
Julie e18d437924 Making LAPACK's code eternal... no more version and date in source files.
GitHub is now enabling us to track accurately version and date.
No need for this anymore.
2021-03-25 10:16:58 -07:00
Julie bc6a755be4 Updating version number on source file modified since 3.6.1
This is really old school, but a lot of times we have users sending us
copy pasting of codes, and that is the only way to know the version of
the code.
2016-12-23 15:01:32 -08:00
Hans Johnson 9dafba6d41 STYLE: Remove trailing whitespace in Fortran files
This is mostly a long term maintenance improvement.

Many coding styles require elimination of trailing whitespace, and
many editors and source code management configurations automatically
gobble up whitespace. When these tools gobble up whitespace, it
complicates reviewing the meaningful code changes.

By removing whitespace on one patch, it makes future
code reviews much easier.

=SCRIPT====================================================================

if which tempfile &>/dev/null; then
  TEMPMAKER=tempfile
elif which mktemp &>/dev/null; then
  TEMPMAKER=mktemp
else
  echo "Cannot find tempfile program." 2>&1
  exit 1
fi

MYTEMP=$($TEMPMAKER)
trap 'rm -f $MYTEMP' SIGINT SIGTERM

stripit() {
  echo "stripping $1"
  sed 's/[ \t]*$//' "$1" > $MYTEMP
  cp $MYTEMP "$1"
}

if [ $# -gt 0 ]; then
  while [ "$1" != "" ]; do
    stripit $1
    shift
  done
else
  while read -t 2; do
    stripit $REPLY
  done
fi

rm $MYTEMP
=================================================
2016-07-09 11:19:34 -05:00
julie f0b200da5b Update version number 2012-04-13 18:22:32 +00:00
julie 55d43f3c3c Remove unused parameters 2012-04-11 19:43:59 +00:00
james a880822a50 replaced calculation of EPS with F90 call to EPSILON intrinsic 2012-01-20 03:06:12 +00:00
julie 4029478e7b Correct some more new lines in program - Thanks Igor for finding out the problem 2011-11-23 18:10:47 +00:00
julie 1c3ba60067 Cosmetic changes in Doxygen presentation.
Use \par instead of \details for section.

add a Contributors Section and a Reference Section.
Remove (some) verbatim section when not needed.
Those changes have been done by hand so I am not sure I manage to catch them all.
2011-11-03 20:32:56 +00:00
julie e1d39294ae Integrating Doxygen in comments 2011-10-06 06:53:11 +00:00
julie 0d0b443c69 Summer cleanup
Cleanup some codes, like unused variables.
Used -Walls to detect problems.
2011-06-22 09:45:40 +00:00
jason baba851215 Move LAPACK trunk into position. 2008-10-28 01:38:50 +00:00