platform/upstream/lapack.git
11 years agoModified new 'rook' pivoting routines and drivers for Hermitian indefinite matrices...
igor175 [Tue, 9 Jul 2013 04:02:51 +0000 (04:02 +0000)]
Modified new 'rook' pivoting routines and drivers for Hermitian indefinite matrices, Complex precision: zhetf2_rook.f zlahef_rook.f zhetri_rook.f

11 years agoModified new 'rook' pivoting routines and drivers for Hermitian indefinite matrices...
igor175 [Tue, 9 Jul 2013 01:55:07 +0000 (01:55 +0000)]
Modified new 'rook' pivoting routines and drivers for Hermitian indefinite matrices, Complex precision: chetf2_rook.f clahef_rook.f chetri_rook.f

11 years agomodified error hadling routines for LIN testing of new Hermitian 'rook' pivoting...
igor175 [Thu, 4 Jul 2013 00:52:02 +0000 (00:52 +0000)]
modified error hadling routines for LIN testing of new Hermitian 'rook' pivoting code: aladhd.f

11 years agomodified error hadling routines for LIN testing of new Hermitian 'rook' pivoting...
igor175 [Thu, 4 Jul 2013 00:22:09 +0000 (00:22 +0000)]
modified error hadling routines for LIN testing of new Hermitian 'rook' pivoting code: aladhd.f, alahd.f

11 years agobug fix provided by Elena Ivanova via email.
james [Thu, 27 Jun 2013 18:54:28 +0000 (18:54 +0000)]
bug fix provided by Elena Ivanova via email.

11 years agoupdated xlarfb routines
james [Thu, 27 Jun 2013 18:34:04 +0000 (18:34 +0000)]
updated xlarfb routines

11 years agofixed array index problems in new CSD routines by adding MAX() to ensure index is...
james [Wed, 5 Jun 2013 02:55:11 +0000 (02:55 +0000)]
fixed array index problems in new CSD routines by adding MAX() to ensure index is at least 1 -- this fixes array bounds violations in the test suite when array bounds checking is enabled

11 years agoNow using 2-norm to compute vector norms of row and column for balancing algorithm.
james [Thu, 16 May 2013 18:55:48 +0000 (18:55 +0000)]
Now using 2-norm to compute vector norms of row and column for balancing algorithm.
This seems to fix problems with balancing causing very large backward error for certain
Hessenberg matrices, including the often cited example of Watkins.

11 years agofixed comments in (c,z)errsy.f
igor175 [Mon, 22 Apr 2013 10:03:22 +0000 (10:03 +0000)]
fixed comments in (c,z)errsy.f

11 years agochanged comments in (c,z)hetf2.f
igor175 [Mon, 22 Apr 2013 08:57:05 +0000 (08:57 +0000)]
changed comments in (c,z)hetf2.f

11 years agoadded LAPACK routine (c,z)hesv_rook.f
igor175 [Mon, 22 Apr 2013 08:43:55 +0000 (08:43 +0000)]
added LAPACK routine (c,z)hesv_rook.f

11 years agoadded LAPACK routine (c,z)hecon_rook.f
igor175 [Mon, 22 Apr 2013 08:35:15 +0000 (08:35 +0000)]
added LAPACK routine (c,z)hecon_rook.f

11 years agoadded LAPACK routine (c,z)hetri_rook.f
igor175 [Mon, 22 Apr 2013 07:49:39 +0000 (07:49 +0000)]
added LAPACK routine (c,z)hetri_rook.f

11 years agoadded LAPACK routine (c,z)hetrs_rook.f
igor175 [Mon, 22 Apr 2013 07:41:56 +0000 (07:41 +0000)]
added LAPACK routine (c,z)hetrs_rook.f

11 years agoadded LAPACK routine (c,z)hetrf_rook.f
igor175 [Mon, 22 Apr 2013 07:32:00 +0000 (07:32 +0000)]
added LAPACK routine (c,z)hetrf_rook.f

11 years agoadded LAPACK routines (c,z)hetf2_rook.f
igor175 [Mon, 22 Apr 2013 06:54:22 +0000 (06:54 +0000)]
added LAPACK routines (c,z)hetf2_rook.f

11 years agofixed comments in LAPACK routines (c,z)lahef.f and (c,z)lahef_rook.f
igor175 [Sun, 21 Apr 2013 03:32:20 +0000 (03:32 +0000)]
fixed comments in LAPACK routines (c,z)lahef.f and (c,z)lahef_rook.f

11 years agofixed comments in LAPACK routines (c,z)lahef.f and (c,z)lahef_rook.f
igor175 [Sun, 21 Apr 2013 02:51:17 +0000 (02:51 +0000)]
fixed comments in LAPACK routines (c,z)lahef.f and (c,z)lahef_rook.f

11 years agoFixed comments in (c,z)lahef.f and (c,z)lahef_rook.f
igor175 [Sat, 20 Apr 2013 01:50:26 +0000 (01:50 +0000)]
Fixed comments in (c,z)lahef.f and (c,z)lahef_rook.f

11 years agoadded HR (Hermitian 'rook') path to LAPACK test routines alaerh.f alahd.f aladhd.f
igor175 [Fri, 19 Apr 2013 23:27:57 +0000 (23:27 +0000)]
added HR (Hermitian 'rook') path to LAPACK test routines alaerh.f alahd.f aladhd.f

11 years agochanged comments in LAPACK testing routine (c,z)latb4.f
igor175 [Fri, 19 Apr 2013 22:10:35 +0000 (22:10 +0000)]
changed comments in LAPACK testing routine (c,z)latb4.f

11 years agofixed comments in LAPACK testing routines (s,d,c,z)lavsy.f, (s,d,c,z)lavsy_rook.f...
igor175 [Thu, 18 Apr 2013 00:39:57 +0000 (00:39 +0000)]
fixed comments in LAPACK testing routines (s,d,c,z)lavsy.f, (s,d,c,z)lavsy_rook.f (c,z)lavhe.f, (c,z)lavhe_rook.f

11 years agofixed comments in LAPACK test routines (s,d,c,z)syt01.f, (s,d,c,z)syt01_rook.f and...
igor175 [Wed, 17 Apr 2013 05:11:46 +0000 (05:11 +0000)]
fixed comments in LAPACK test routines (s,d,c,z)syt01.f, (s,d,c,z)syt01_rook.f  and (c,z)het01.f, (c,z)het01_rook.f

11 years agominor changes in LAPACK testing routines (s,d,c,z)drvsy.f, (s,d,c,z)drvsy_rook.f...
igor175 [Wed, 17 Apr 2013 03:53:30 +0000 (03:53 +0000)]
minor changes in LAPACK testing routines (s,d,c,z)drvsy.f, (s,d,c,z)drvsy_rook.f, (c,z)drvhe.f, and (c,z)drvhe_rook.f

11 years agoremoved whitespace in LAPACK testing routines (s,d,c,z)chksy.f and (s,d,c,z)chksy_roo...
igor175 [Wed, 17 Apr 2013 02:53:48 +0000 (02:53 +0000)]
removed whitespace in LAPACK testing routines (s,d,c,z)chksy.f and (s,d,c,z)chksy_rook.f and (c,z)chkhe.f (c,z)chkhe_rook.fand minor modifications

11 years agochanged comments in LAPACK testing routines (s,d,c,z)chksy.f and (s,d,c,z)chksy_rook...
igor175 [Wed, 17 Apr 2013 02:44:09 +0000 (02:44 +0000)]
changed comments in LAPACK testing routines (s,d,c,z)chksy.f and (s,d,c,z)chksy_rook.f (c,z)chkhe.f (c,z)chkhe_rook.fand minor modifications

11 years agochanged comments in LAPACK testing routines (c,z)chksy.f and (c,z)chksy_rook.f (c...
igor175 [Wed, 17 Apr 2013 01:46:16 +0000 (01:46 +0000)]
changed comments in LAPACK testing routines (c,z)chksy.f and (c,z)chksy_rook.f (c,z)chkhe.f (c,z)chkhe_rook.f and minor modifications

11 years agochanged comments in LAPACK testing routines (c,z)chksy.f and (c,z)chksy_rook.f (c...
igor175 [Wed, 17 Apr 2013 01:45:24 +0000 (01:45 +0000)]
changed comments in LAPACK testing routines (c,z)chksy.f and (c,z)chksy_rook.f (c,z)chkhe.f (c,z)chkhe_rook.f and minor modifications

11 years agochanged comments in LAPACK testing routines (c,z)chksy.f and (c,z)chksy.f
igor175 [Tue, 16 Apr 2013 22:06:41 +0000 (22:06 +0000)]
changed comments in LAPACK testing routines (c,z)chksy.f and (c,z)chksy.f

11 years agochanged coments in LAPACK testing routines (c,z)chksy.f and (c,z)chksy.f
igor175 [Fri, 12 Apr 2013 23:45:56 +0000 (23:45 +0000)]
changed coments in LAPACK testing routines (c,z)chksy.f and (c,z)chksy.f

11 years agoadded test routines (c,z)chkhe_rook.f and (c,z)drvhe_rook.f for Hermitian factoriza...
igor175 [Fri, 12 Apr 2013 20:06:51 +0000 (20:06 +0000)]
added test routines (c,z)chkhe_rook.f  and (c,z)drvhe_rook.f  for Hermitian factorization routines with rook pivoting algorithm

11 years agoadded test routines (c,z)chkhe_rook.f and (c,z)drvhe_rook.f for Hermitian factoriza...
igor175 [Fri, 12 Apr 2013 20:06:18 +0000 (20:06 +0000)]
added test routines (c,z)chkhe_rook.f  and (c,z)drvhe_rook.f  for Hermitian factorization routines with rook pivoting algorithm

11 years ago lapacke.h: template with C linkage error - forum topic 4221
julie [Thu, 4 Apr 2013 05:20:31 +0000 (05:20 +0000)]
 lapacke.h: template with C linkage error - forum topic 4221

11 years agoremoved references to example_ZGESV_rowmajor.c
james [Tue, 26 Mar 2013 14:55:38 +0000 (14:55 +0000)]
removed references to example_ZGESV_rowmajor.c

11 years agoremoved example_ZGESV_rowmajor.c
james [Tue, 26 Mar 2013 14:53:56 +0000 (14:53 +0000)]
removed example_ZGESV_rowmajor.c

11 years agocorrected bug found by Tyrone Rees posted on email list:
james [Fri, 22 Mar 2013 20:54:57 +0000 (20:54 +0000)]
corrected bug found by Tyrone Rees posted on email list:

"I think there's a bug in the routine dlaqp2.f in version 3.4.2 of LAPACK
(and possibly earlier). Line 220 of the source is
   IF( I.LE.N ) THEN
whereas for the other versions the same line reads
   IF( I.LT.N ) THEN

This difference appears to make the routine dgeqp3 fall over when asked
to do a factorization of the last two columns of a 10x5 matrix.  The NAG
fortran compiler gives the error:
 Subscript out of range for assumed-size array A - Access to element 22
but actual argument has only 20 elements
 Program terminated by fatal error

The single precision version runs without a hiccup.

Best wishes,

Tyrone"

11 years agoApplied patch provided by Sergey Kuznetsov @ Intel, fixes bug where TAU2 can be unini...
james [Fri, 22 Mar 2013 12:38:47 +0000 (12:38 +0000)]
Applied patch provided by Sergey Kuznetsov @ Intel, fixes bug where TAU2 can be uninitialized.

11 years agoadded code to set the last pivots to n: ipiv(n)=jpiv(n)=n
james [Tue, 5 Mar 2013 17:52:07 +0000 (17:52 +0000)]
added code to set the last pivots to n: ipiv(n)=jpiv(n)=n

11 years agoUpdate and add examples
julie [Fri, 15 Feb 2013 21:54:15 +0000 (21:54 +0000)]
Update and add examples

11 years agoRemove unused file
julie [Fri, 15 Feb 2013 16:45:00 +0000 (16:45 +0000)]
Remove unused file

11 years agoFix typos in README
julie [Thu, 7 Feb 2013 16:28:08 +0000 (16:28 +0000)]
Fix typos in README

11 years agoAdd c/zlacp2 for PLASMA team
julie [Thu, 10 Jan 2013 04:26:11 +0000 (04:26 +0000)]
Add c/zlacp2 for PLASMA team

11 years agoUpdated comments in (s,d,c,z)lasy_rook.f and (c,z)lahe_rook.f
igor175 [Wed, 12 Dec 2012 03:03:41 +0000 (03:03 +0000)]
Updated comments in (s,d,c,z)lasy_rook.f and (c,z)lahe_rook.f

11 years agoupdated comments in (s,d,c,z)lasyf.f and (c,z)lahef.f
igor175 [Wed, 12 Dec 2012 02:49:09 +0000 (02:49 +0000)]
updated comments in (s,d,c,z)lasyf.f and  (c,z)lahef.f

11 years agoUpdated comments in (s,d,c,z)sytf2_rook.f
igor175 [Wed, 12 Dec 2012 02:15:21 +0000 (02:15 +0000)]
Updated comments in (s,d,c,z)sytf2_rook.f

11 years agoUpdated comments in (s,d,c,z)sytf2.f and (c,z)hetf2.f
igor175 [Wed, 12 Dec 2012 02:08:16 +0000 (02:08 +0000)]
Updated comments in  (s,d,c,z)sytf2.f and (c,z)hetf2.f

11 years agoupdated comments in
igor175 [Wed, 12 Dec 2012 01:16:46 +0000 (01:16 +0000)]
updated comments in

11 years agofixed comments in clahef_rook.f and zlahef_rook.f
igor175 [Tue, 11 Dec 2012 20:33:11 +0000 (20:33 +0000)]
fixed comments in clahef_rook.f and zlahef_rook.f

11 years agoCommit Victor Liu's suggestion about making the complex division routine more robust
julie [Tue, 11 Dec 2012 19:01:44 +0000 (19:01 +0000)]
Commit Victor Liu's suggestion about making the complex division routine more robust
tests and builds seems fine.

Message sent on Oct 18th
I just saw a paper on ArXiv about making the complex division routine more robust:
http://arxiv.org/abs/1210.4539
Second author is actually the original inventor of the current algorithm in Lapack.
I have attached my modified DLADIV routine, which passes all the tests in the build process.

11 years agoReplaced IF(J.LE.N) by IF(J.LT.N) for 'U', where U12 is put in standard form by parti...
igor175 [Wed, 5 Dec 2012 07:16:18 +0000 (07:16 +0000)]
Replaced IF(J.LE.N) by IF(J.LT.N) for 'U', where U12 is put in standard form by partially undoing the interchanges, also added comments to the part where U21 is put in standard form; Similarly, replaced IF(J.GE.1) by IF(J.GT.1) for 'L', where L21 is put in standard form by partially undoing the interchanges, also added comments to the part where L21 is put in standard form; Affected files: zlahef.f clahef.f zlasyf.f clasyf.f dlasyf.f slasyf.f

11 years agofixed a typo in a comment in (c,z)lahef_rook.f
igor175 [Sat, 10 Nov 2012 03:33:51 +0000 (03:33 +0000)]
fixed a typo in a comment in (c,z)lahef_rook.f

11 years agoadded clahef_rook.f and zlahef_rook.f
igor175 [Sat, 10 Nov 2012 02:33:57 +0000 (02:33 +0000)]
added clahef_rook.f and zlahef_rook.f

11 years agofixed a typo in a commnet in (c,z)lahef.f
igor175 [Thu, 8 Nov 2012 23:23:15 +0000 (23:23 +0000)]
fixed a typo in a commnet in (c,z)lahef.f

11 years ago(s,d,c,z)lasyf.f and (c,z)lahef.f: added comments to the part where a column or 2...
igor175 [Thu, 8 Nov 2012 21:53:21 +0000 (21:53 +0000)]
(s,d,c,z)lasyf.f and (c,z)lahef.f: added comments to the part where a column or 2 columns are updated at each step

11 years agofixed comments in (s,d,c,z)lasyf.f and (c,z)lahef.f
igor175 [Sat, 3 Nov 2012 00:53:08 +0000 (00:53 +0000)]
fixed comments in (s,d,c,z)lasyf.f and (c,z)lahef.f

11 years agoupdated comments for interchage of rows and columns in (s,d,c,z)lasyf.f and (c,z...
igor175 [Fri, 2 Nov 2012 04:26:02 +0000 (04:26 +0000)]
updated comments for interchage of rows and columns in (s,d,c,z)lasyf.f and (c,z)lagef.f

11 years agoChanged comment in (sdcz)lasyf.f and (cz)lahef.f about interchanges for 2x2 pivot
igor175 [Fri, 2 Nov 2012 03:02:56 +0000 (03:02 +0000)]
Changed comment in (sdcz)lasyf.f and (cz)lahef.f about interchanges for 2x2 pivot

11 years ago(s,d,c,z)lasyf.f: introduced from zlahef.f a more efficient version of the code that...
igor175 [Fri, 2 Nov 2012 02:00:52 +0000 (02:00 +0000)]
(s,d,c,z)lasyf.f: introduced from zlahef.f a more efficient version of the code that interchanges row and columns -- 1) for 'L' version: eliminated unnecessary copying to elemnents in cols. K (K and K+1 for 2x2 pivot) that later on will be overwritten by storing L(k) ( L(k) and L(k+1) for 2x2 pivot ) into these cols. 2) for 'U' version: eliminated unnecessary copying to elemnents in cols. K (K and K-1 for 2x2 pivot) that later on will be overwritten by storing L(k) ( L(k)and L(k-1) for 2x2 pivot ) into these cols.

11 years agoupdated comments in (c,z)lahef.f for column interchange
igor175 [Fri, 2 Nov 2012 00:44:17 +0000 (00:44 +0000)]
updated comments in (c,z)lahef.f for column  interchange

11 years ago(c,z)lahef.f: Changed the length of the swap vector from KK-1 to K-1 for the 'L'...
igor175 [Thu, 1 Nov 2012 22:51:10 +0000 (22:51 +0000)]
(c,z)lahef.f: Changed the length of the swap vector from KK-1 to K-1 for the 'L' case and from N-KK to N-K for the 'U' case. It is sufficient to swap rows KK and KP only in the first K-1 columns of A instead of in the first KK-1 columns of A in 'L' case (columns K (or K and K+1) of A will be later overwritten). It is sufficient to swap rows KK and KP only in the last K+1 to N columns of A instead of in the last KK+1 to N columns of A in the 'U' case (columns K (or K and K-1) of A will be later overwritten).

11 years agofixesd inconsistencies between 'L' and 'U' parts in (z,c)lahef.f, added an IF check...
igor175 [Thu, 1 Nov 2012 19:37:46 +0000 (19:37 +0000)]
fixesd inconsistencies between 'L' and 'U' parts in (z,c)lahef.f, added an IF check to 'U' part IF(KP.GT.1) where column interchange occurs

11 years agofixes to comments in *zlasyf_rook.f
igor175 [Tue, 30 Oct 2012 23:57:03 +0000 (23:57 +0000)]
fixes to comments in *zlasyf_rook.f

11 years agofixes to comments in *lasyf_rook.f
igor175 [Mon, 29 Oct 2012 18:49:49 +0000 (18:49 +0000)]
fixes to comments in *lasyf_rook.f

11 years agofixes to comments in *lasyf_rook.f
igor175 [Mon, 29 Oct 2012 18:30:30 +0000 (18:30 +0000)]
fixes to comments in *lasyf_rook.f

11 years agoremoved extra characters after ZERO
james [Sat, 27 Oct 2012 15:13:36 +0000 (15:13 +0000)]
removed extra characters after ZERO

11 years agoAdd xlacn2 for PLASMA team
julie [Fri, 26 Oct 2012 05:04:09 +0000 (05:04 +0000)]
Add xlacn2 for PLASMA team

11 years agofixes to documentation in clahef.f and zlahef.f
igor175 [Thu, 25 Oct 2012 22:25:22 +0000 (22:25 +0000)]
fixes to documentation in clahef.f and zlahef.f

11 years agofixes to comments in *lasyf_rook.f
igor175 [Thu, 25 Oct 2012 22:12:12 +0000 (22:12 +0000)]
fixes to comments in *lasyf_rook.f

11 years agofixes to documentation in *lasyf.f, *lasyf_rook.f
igor175 [Thu, 25 Oct 2012 21:48:07 +0000 (21:48 +0000)]
fixes to documentation in *lasyf.f, *lasyf_rook.f

11 years agopatch from Mathworks that fixes convergence problem with some particular pencils...
james [Fri, 19 Oct 2012 21:45:55 +0000 (21:45 +0000)]
patch from Mathworks that fixes convergence problem with some particular pencils in xGGEV

11 years ago* added check for NaN after the norm of each block of H is computed
james [Thu, 11 Oct 2012 18:19:31 +0000 (18:19 +0000)]
* added check for NaN after the norm of each block of H is computed
* if NaN is detected, returns with INFO=-6 (H is the 6th parameter)
* fixes problem found by Alexander Kobotov at Intel where a NaN in H can cause an infinite loop:

  http://icl.cs.utk.edu/lapack-forum/viewtopic.php?f=13&t=3928

11 years agoSimplify description of workspace requirement
julie [Mon, 8 Oct 2012 21:12:36 +0000 (21:12 +0000)]
Simplify description of workspace requirement
Reported by Simon on Oct 8th on LAPACK forum : http://icl.cs.utk.edu/lapack-forum/viewtopic.php?f=2&t=3951

The size of the workspace for DGESDD for JOBZ = 'S' or 'A' has been changed in LAPACK 3.4.2, and is set by LWORK. The current description of LWORK reads:

LWORK >= 3*min(M,N) +
         max(max(M,N),4*min(M,N)*min(M,N)+3*min(M,N)+max(M,N)).

In the second line, both arguments of max contain max(M,N), and so the the function is redundant - the second argument will always be realised.
So the description could be simplified to:

LWORK >= 3*min(M,N) +
         4*min(M,N)*min(M,N)+3*min(M,N)+max(M,N)

or further simplified to

LWORK >= min(M,N)*(6+4*min(M,N))+max(M,N)

11 years ago(no commit message)
julie [Tue, 25 Sep 2012 23:56:27 +0000 (23:56 +0000)]

11 years ago(no commit message)
julie [Sat, 22 Sep 2012 03:33:49 +0000 (03:33 +0000)]

11 years ago(no commit message)
julie [Fri, 21 Sep 2012 15:48:46 +0000 (15:48 +0000)]

11 years ago(no commit message)
julie [Fri, 21 Sep 2012 02:21:29 +0000 (02:21 +0000)]

11 years ago(no commit message)
james [Thu, 20 Sep 2012 14:41:07 +0000 (14:41 +0000)]

11 years ago(no commit message)
james [Tue, 18 Sep 2012 01:14:38 +0000 (01:14 +0000)]

12 years ago(no commit message)
james [Sat, 8 Sep 2012 23:02:04 +0000 (23:02 +0000)]

12 years ago(no commit message)
james [Thu, 6 Sep 2012 03:38:21 +0000 (03:38 +0000)]

12 years ago(no commit message)
james [Thu, 6 Sep 2012 03:34:54 +0000 (03:34 +0000)]

12 years ago(no commit message)
julie [Wed, 29 Aug 2012 16:08:30 +0000 (16:08 +0000)]

12 years ago(no commit message)
james [Tue, 28 Aug 2012 14:29:34 +0000 (14:29 +0000)]

12 years ago(no commit message)
julie [Sat, 25 Aug 2012 22:58:53 +0000 (22:58 +0000)]

12 years ago(no commit message)
julie [Sat, 25 Aug 2012 22:27:13 +0000 (22:27 +0000)]

12 years agoAdd ilaver to LAPACKE
julie [Sat, 25 Aug 2012 22:24:59 +0000 (22:24 +0000)]
Add ilaver to LAPACKE

12 years ago(no commit message)
james [Fri, 24 Aug 2012 00:32:54 +0000 (00:32 +0000)]

12 years ago(no commit message)
julie [Wed, 22 Aug 2012 14:58:21 +0000 (14:58 +0000)]

12 years ago(no commit message)
james [Wed, 22 Aug 2012 02:23:49 +0000 (02:23 +0000)]

12 years agoCorrect typo found by Elena Ivanova, Oracle.
julie [Tue, 21 Aug 2012 05:09:38 +0000 (05:09 +0000)]
Correct typo found by Elena Ivanova, Oracle.

See http://icl.cs.utk.edu/lapack-forum/viewtopic.php?f=13&t=3612

12 years agoCorrected bug that occurs when V is stored in backwards order: previously, the scan...
james [Sat, 18 Aug 2012 22:01:21 +0000 (22:01 +0000)]
Corrected bug that occurs when V is stored in backwards order: previously, the scan for zero rows or columns at the _end_ of V can result in the trunctation of the unit triangular part of V.  The correction replaces the LASTV in the DIRECT='B' cases with the full length, which is either M or N, which then keeps the full K-by-K unit triangular portion of V.  Another approach, which could be applied in a future revision, is to add new routines to compute the first non-zero row and non-zero column of a matrix, and store this index in FIRSTV, and run the loops and matrix multiplications from FIRSTV:M and FIRSTV:N where appropriate.

12 years agoreverting to previous version, which is correct
james [Sat, 18 Aug 2012 21:45:06 +0000 (21:45 +0000)]
reverting to previous version, which is correct

12 years agofixed logic error that corrects bug found by Duncan Po at Mathworks
james [Fri, 17 Aug 2012 00:53:59 +0000 (00:53 +0000)]
fixed logic error that corrects bug found by Duncan Po at Mathworks

12 years agoCorrect comments and Doxygen generation following comments from Sa-Lin Cheng Bernstei...
julie [Fri, 10 Aug 2012 17:32:23 +0000 (17:32 +0000)]
Correct comments and Doxygen generation following comments from Sa-Lin Cheng Bernstein sent to lapack mailing list on August 9th 2012

While looking at the new lapack version (v3.4.1) and going through the routines on http://www.netlib.org/lapack/lapack_routine/, we found some errors and thought that we should report them. Below is the list of the errors.

====================================================================
(1) Should be "\ingroup complex16OTHERsolve" and not "\ingroup complex16OTHERcomputational" because they are driver routines; in addition, in the line just below SUBROUTINE <routinename>, it should be driver routine:
sgtsv.f
sgtsvx.f
sptsv.f
sptsvx.f
dgtsv.f
dgtsvx.f
dptsv.f
dptsvx.f
cgtsv.f
cgtsvx.f
cptsv.f
cptsvx.f
zgtsv.f
zgtsvx.f
zptsv.f
zptsvx.f

(2) Should be "\ingroup complex16SYsolve" and not "\ingroup complex16OTHERcomputational" because they are driver routines; in addition, in the line just below SUBROUTINE <routinename>, it should be driver routine:
ssysvxx.f
dsysvxx.f

(3) Should be "\ingroup realOTHERcomputational" and not ""\ingroup auxOTHERcomputational":
spttrf.f

(4) Should be "\ingroup doubleOTHERcomputational" and not ""\ingroup auxOTHERcomputational":
dpttrf.f

(5) Should be "symmetric matrix" and not "Hermitian indefinite matrix" in "\par Purpose:"
ssytri2.f
dsytri2.f
csytri2.f
zsytri2.f

(6) Should be "\ingroup realGEsing" and not "\ingroup realGEcomputational":
sgejsv.f
dgejsv.f

12 years agoCorrect comments in
langou [Thu, 9 Aug 2012 15:49:47 +0000 (15:49 +0000)]
Correct comments in
SRC/sgeev.f
SRC/dgeevx.f
SRC/dgeev.f
SRC/sgeevx.f

Reported by Konstantinos Kafoysas (Beta CAE Systems S.A., Greece) on Thu Aug
9th, 2012 through LAPACK mailing list.

> In the comments of dgeev function
>
> *  The left eigenvector u(j) of A satisfies
> *                u(j)**T * A = lambda(j) * u(j)**T
> *  where u(j)**T denotes the transpose of u(j).
>
> u is supposed to satisfy u(j)**H * A = lambda(j) * u(j)**H

12 years agoerror in comment detected by Mathieu (PLASMA)
julie [Fri, 3 Aug 2012 18:17:41 +0000 (18:17 +0000)]
error in comment detected by Mathieu (PLASMA)

Routine affected: [CZ]HEGST et [CZ]HEGS2,
B is IN in comment, but in the code, B is actually changed, but after restored.
Here is the code portion that is to blame. [CZ]HEGS2

00203                IF( K.LT.N ) THEN
00204                   CALL ZDSCAL( N-K, ONE / BKK, A( K, K+1 ), LDA )
00205                   CT = -HALF*AKK
00206                   CALL ZLACGV( N-K, A( K, K+1 ), LDA )
00207                   CALL ZLACGV( N-K, B( K, K+1 ), LDB )
00208                   CALL ZAXPY( N-K, CT, B( K, K+1 ), LDB, A( K, K+1 ),
00209      $                        LDA )
00210                   CALL ZHER2( UPLO, N-K, -CONE, A( K, K+1 ), LDA,
00211      $                        B( K, K+1 ), LDB, A( K+1, K+1 ), LDA )
00212                   CALL ZAXPY( N-K, CT, B( K, K+1 ), LDB, A( K, K+1 ),
00213      $                        LDA )
00214                   CALL ZLACGV( N-K, B( K, K+1 ), LDB )
00215                   CALL ZTRSV( UPLO, 'Conjugate transpose', 'Non-unit',
00216      $                        N-K, B( K+1, K+1 ), LDB, A( K, K+1 ),
00217      $                        LDA )
00218                   CALL ZLACGV( N-K, A( K, K+1 ), LDA )

12 years agoCommit Brian Sutton new CS Decomposition routines.
julie [Fri, 27 Jul 2012 06:42:44 +0000 (06:42 +0000)]
Commit Brian Sutton new CS Decomposition routines.

All the routines from the SRC folder have been updated to integrate the current Doxygen layout.
Everything seems to be fine, all tests passed without problem.

12 years agoadded NaN check to prevent NaN's from being skipped in accumulation
james [Tue, 17 Jul 2012 13:15:40 +0000 (13:15 +0000)]
added NaN check to prevent NaN's from being skipped in accumulation

12 years agomatrix norms now consistently return nan when input matrix contains a nan;
james [Mon, 16 Jul 2012 14:21:07 +0000 (14:21 +0000)]
matrix norms now consistently return nan when input matrix contains a nan;
previously, this was (usually) only the case for the 'F' norm

12 years agoAdd make.in for pgf95 compiler
julie [Fri, 13 Jul 2012 17:12:37 +0000 (17:12 +0000)]
Add make.in for pgf95 compiler