Skip to content

Comments in dget38.f look wrong. (only cosmetic ones) #587

Closed

Description

@nakatamaho

Description

  • DGEHRD reduces a general matrix A to upper Hessenberg form
  • DHSEQR computes eigenvalues of a matrix of Hessenberg form and the Schur form

but in dget38.f, comments are only "Compute Schur form"
--- lapack-3.9.1/TESTING/EIG/dget38. 2021-03-26 03:25:15.000000000 +0900
+++ lapack-3.9.1/TESTING/EIG/dget38.f 2021-06-21 15:51:04.000000000 +0900
@@ -194,7 +194,7 @@
$ VMUL = ONE
CALL DLACPY( 'F', N, N, T, LDT, TSAV, LDT )
*
-* Compute Schur form
+* Compute upper Hessenberg form of matrix
*
CALL DGEHRD( N, 1, N, T, LDT, WORK( 1 ), WORK( N+1 ), LWORK-N,
$ INFO )
@@ -210,7 +210,7 @@
CALL DORGHR( N, 1, N, Q, LDT, WORK( 1 ), WORK( N+1 ), LWORK-N,
$ INFO )
*
-* Compute Schur form
+* Compute eigenvalues and the Schur form T
*
CALL DHSEQR( 'S', 'V', N, 1, N, T, LDT, WR, WI, Q, LDT, WORK,
$ LWORK, INFO )

Checklist

  • I've included a minimal example to reproduce the issue
  • I'd be willing to make a PR to solve this issue

Activity

  1. changed the title [-]Comments in dget38.f look wrong. (only cosmetic one)[/-] [+]Comments in dget38.f look wrong. (only cosmetic ones)[/+] on Jun 21, 2021
  2. langou commented on Jun 21, 2021

    @langou
    Contributor

    Yes. OK. (1) Please submit a PR. (2) Can you check as well for s, c, and z arithmetic then? (3) "Compute upper Hessenberg form of matrix" is fine. We could also write: "Reduce to upper Hessenberg form". Either way is fine. Cheers, Julien.

  3. added 8 commits that reference this issue on Jun 10, 2026
    64e5364
    c44c110
    aa42976
    0445d5d
    3078fea
    7b81d7a
    07dace1
    526a4fb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions