Commit Graph
30 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
langou b054023bcd Merge pull request #1094 from wdconinc/gelqs-geqrs-work-lwork
?ge(lq|qr)s.f: WORK( LWORK ) -> WORK( * )
2025-05-09 07:49:46 -06:00
Julie 59f136760f Update Source code to fix issue with links in Doxygen
Removed \htmlonly and \endhtmlonly (causing links to not work)
Increase DOT_GRAPH_MAX_NODES   to 200
2025-01-20 17:34:06 -08:00
Martin Kroeker 3c209c6bdf Fix line reflow on addition of _64 symbol suffix 2025-01-19 22:59:21 +01:00
Martin Kroeker bc0c38f247 Fix line reflow on addition of _64 symbol suffix 2025-01-19 22:58:19 +01:00
Martin Kroeker 304fa305e8 Fix line reflow on addition of _64 symbol suffixes 2025-01-19 22:55:52 +01:00
Wouter Deconinck f5103fc3b4 ?ge(lq|qr)s.f: WORK( LWORK ) -> WORK( * ) 2025-01-10 14:32:30 -06:00
Wouter Deconinck 3aa877584b dlahrd.f: consistent line reflow for DTRMV calls 2025-01-10 13:05:28 -06:00
Hubertus van Dam 0e4c25b00e Adding extra space for extended API 2024-11-28 15:28:34 +01:00
Hubertus van Dam 37e4061ec4 Add extra space for extended API 2024-11-28 12:41:58 +01:00
Hubertus van Dam 76361efae0 Add extra space for extended API 2024-11-28 12:38:40 +01:00
Hubertus van Dam 97e39473f3 Add extra space for extended API 2024-11-28 12:36:07 +01:00
Hubertus van Dam 494425c908 Add extra space for extended API 2024-11-28 12:29:49 +01:00
Hubertus van Dam 97c7845511 And once more. 2024-11-28 12:23:28 +01:00
Hubertus van Dam 47f3d2ae07 Add extra space for extended API 2024-11-28 12:21:28 +01:00
Hubertus van Dam 3f9b12c4ca The extended API needs extra space for _64
For the extended API subroutine names are extended with _64 (e.g.
CGEGS becomes CGEGS_64). Extra space is needed so that the extension
does not violate Fortran line length conventions.
2024-11-28 12:10:45 +01:00
Angelika Schwarz 0d1e3ecdd9 Remove auxiliary GEQRS, GELQS
GEQRS and GELQS were likely computational routines once,
(they have an input argument check, which auxiliary/test
routines typically do not have) but have been superseded by
GELS a long time ago. The only remaining occurrences
are in the tests CHKQR and CHKLQ, where they are auxiliary
routines to widen the test coverage.

* Replace GEQRS and GELQS by calls to GELS in tests
* Remove the functions from the error exit tests
* Move GEQRS and GELQS to the deprecated routines

Closes #709
2023-08-28 19:49:41 +02:00
Mark Gates 62b19990a2 doxygen: new group structure 2023-07-04 01:29:12 -04:00
langou 971b058eb3 Merge pull request #831 from weslleyspereira/fix-230
update brief descriptions of function purpose, Closes #230
2023-05-24 06:40:07 -06:00
Weslley S Pereira 48adc215a0 Closes #230 2023-05-23 17:49:53 -06:00
musvaage f3fff11ccf typos 2023-04-11 13:52:58 -05:00
Angelika Schwarz add62ef56a Remove legacy function LABAD
See https://github.com/Reference-LAPACK/lapack/issues/96
2023-03-21 18:27:13 +01: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 50d40d7852 Updating version number 2015-11-15 20:33:40 +00:00
julie 5df478d1d6 Committing patch submitted by Christopher Conrad on Sept 25th 2015
From Christopher:
I noticed the following errors in the documentation and attached
patches for all of them:
- Sometimes the function name in the docstring \brief does not match the
actual function name (ex: xSYGV*).
- According to the documentation, xLAHRD is obsolete but not deprecated.
- The parameter N in xLA(R)SCL2 is not the number of columns of D.

Also, I updated the Doxyfile (doxygen -u DOCS/Doxyfile) and removed
the missing DOT_FONTNAME to get rid of the Doxygen warnings.
2015-11-11 06:20:49 +00:00
julie c406915af2 Adding xlahrd to DEPRECATED (problem reported by zerothi) 2015-09-19 19:22:02 +00:00
philippe.theveny 49b7de3e36 Moved deprecated SGVD routines into DEPRECATED directory.
Added a BUILD_DEPRECATED option for make and cmake, which build
deprecated routines into the LAPACK library (OFF by default).
This completes r1563.

TODO: document the BUILD_DEPRECATED option (i.e. update documentation).
2015-08-17 22:58:57 +00:00
philippe.theveny 7b9b17997e Move all but one deprecated routines to a new separate directory.
They are compiled and included in the liblapack.a archive when
the MAKEDEPRECATED option in the make.inc file is set.

TODO: Add the corresponding behavior to the cmake files.

NOTE: The xGEQPF routines are deprecated but still used by some
non-deprecated routines. They have not been moved to the DEPRECATED
directory.
2015-08-06 23:01:56 +00:00