MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

SingularValueDecomposition bug: fifty examples

  • To: mathgroup at
  • Subject: [mg60753] SingularValueDecomposition bug: fifty examples
  • From: John Sidles <sidles at>
  • Date: Tue, 27 Sep 2005 03:45:23 -0400 (EDT)
  • References: <>
  • Sender: owner-wri-mathgroup at

Dear Mathgroup folks

I have documented fifty different examples of matrices for which
SingularValueDecomposition[] fails under Mathematica 5.2
(Mac OS X, Tiger).  Full details are here: 

The matrices themselves (plus a notebook to successively load them and
document the SVD failure) are in this gzipped tarball: 

A Makefile is included -- run "make unpack" to unpack the tarball: 

Just as a point of interest, the above files include:

   -> 25 matrices that generate the following (undocumented) error  

      "SingularValueDecomposition::cfail:  Algorithm failed to  

   -> 25 matrices for which SingularValueDecomposition[] returns a
         wrong result, with no error message.

Needless to say, a call to SingularValueDecomposition[] should never fail ...
our application (a terrain-following mapping program) surely depends  
on this!

John Sidles

  • Prev by Date: Digital Image Processing 2 Now Available
  • Next by Date: Re: WORD document
  • Previous by thread: Digital Image Processing 2 Now Available
  • Next by thread: Re: SingularValueDecomposition bug: fifty examples