~logan/ubuntu/trusty/suitesparse/4.2.1-3ubuntu1

« back to all changes in this revision

Viewing changes to UMFPACK/Doc/UserGuide.stex

  • Committer: Bazaar Package Importer
  • Author(s): Rafael Laboissiere, Rafael Laboissiere, Ondrej Certik
  • Date: 2008-02-21 14:46:50 UTC
  • mfrom: (1.1.2 upstream) (5.1.1 hardy)
  • Revision ID: james.westby@ubuntu.com-20080221144650-tgeppgj0t7s759i8
Tags: 3.1.0-3
[ Rafael Laboissiere ]
* Upload to unstable

[ Ondrej Certik ]
* XS-DM-Upload-Allowed: yes field added
* Ondrej Certik added to uploaders

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
\author{Timothy A. Davis \\
21
21
Dept. of Computer and Information Science and Engineering \\
22
22
Univ. of Florida, Gainesville, FL}
23
 
\title{UMFPACK Version 5.1 User Guide}
24
 
\date{May 31, 2007}
 
23
\title{UMFPACK Version 5.2.0 User Guide}
 
24
\date{Nov 1, 2007}
25
25
\maketitle
26
26
 
27
27
%-------------------------------------------------------------------------------
38
38
 
39
39
Technical Report TR-04-003 (revised)
40
40
 
41
 
UMFPACK Version 5.1, Copyright\copyright 1995-2006 by Timothy A. Davis.
 
41
UMFPACK Version 5.2.0, Copyright\copyright 1995-2006 by Timothy A. Davis.
42
42
All Rights Reserved.
43
43
UMFPACK is available under alternate licences; contact T. Davis for details.
44
44
 
47
47
    UMFPACK implies that you agree to this License.
48
48
 
49
49
    This library is free software; you can redistribute it and/or
50
 
    modify it under the terms of the GNU Lesser General Public
 
50
    modify it under the terms of the GNU General Public
51
51
    License as published by the Free Software Foundation; either
52
 
    version 2.1 of the License, or (at your option) any later version.
 
52
    version 2 of the License, or (at your option) any later version.
53
53
 
54
54
    This library is distributed in the hope that it will be useful,
55
55
    but WITHOUT ANY WARRANTY; without even the implied warranty of
56
56
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
57
 
    Lesser General Public License for more details.
 
57
    General Public License for more details.
58
58
 
59
 
    You should have received a copy of the GNU Lesser General Public
 
59
    You should have received a copy of the GNU General Public
60
60
    License along with this library; if not, write to the Free Software
61
61
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301
62
62
    USA
63
63
 
64
64
    Permission is hereby granted to use or copy this program under the
65
 
    terms of the GNU LGPL, provided that the Copyright, this License,
 
65
    terms of the GNU GPL, provided that the Copyright, this License,
66
66
    and the Availability of the original version is retained on all copies.
67
67
    User documentation of any code that uses this code or any modified
68
68
    version of this code must cite the Copyright, this License, the
95
95
%-------------------------------------------------------------------------------
96
96
 
97
97
UMFPACK\footnote{Pronounced with two syllables: umph-pack}
98
 
Version 5.0 is a set of routines for solving systems of linear
 
98
is a set of routines for solving systems of linear
99
99
equations, $\m{Ax}=\m{b}$, when $\m{A}$ is sparse and unsymmetric.  It is based
100
100
on the Unsymmetric-pattern MultiFrontal method \cite{DavisDuff97,DavisDuff99}.
101
101
UMFPACK factorizes
275
275
does not have the symmetric or 2-by-2 strategies and it takes
276
276
less advantage of the level-3
277
277
BLAS \cite{DaydeDuff99,ACM679a,ATLAS,GotoVandeGeijn02}.
278
 
Versions 5.0 through v4.1 tend to be much faster than Version 4.0,
 
278
Versions 5.x through v4.1 tend to be much faster than Version 4.0,
279
279
particularly on unsymmetric matrices with mostly symmetric
280
280
nonzero pattern (such as finite element and circuit simulation matrices).
281
281
Version 3.0 and following make
290
290
MA38 (functionally equivalent to Version 2.2.1) in the Harwell
291
291
Subroutine Library.
292
292
 
 
293
{\bf NOTE: you must use the correct version of AMD with UMFPACK; using
 
294
an old version of AMD with a newer version of UMFPACK can fail.}
 
295
 
293
296
%-------------------------------------------------------------------------------
294
297
\section{Primary changes from prior versions}
295
298
%-------------------------------------------------------------------------------
297
300
A detailed list of changes is in the {\tt ChangeLog} file.
298
301
 
299
302
%-------------------------------------------------------------------------------
 
303
\subsection{Version 5.2.0}
 
304
%-------------------------------------------------------------------------------
 
305
 
 
306
Change of license from GNU Lesser GPL to the GNU GPL.
 
307
 
 
308
%-------------------------------------------------------------------------------
300
309
\subsection{Version 5.1.0}
301
310
%-------------------------------------------------------------------------------
302
311
 
628
637
sometimes be faster than factorizing {\tt A}.  It can also be preferable to
629
638
factorize {\tt A'} if {\tt A} is rectangular.  UMFPACK pre-orders the columns
630
639
to maintain sparsity; the row ordering is not determined until the matrix
631
 
is factorized.  Thus, if {\tt A} is {\tt m} by {\tt n} with rank {\tt m}
 
640
is factorized.  Thus, if {\tt A} is {\tt m} by {\tt n} with structural
 
641
rank {\tt m}
632
642
and {\tt m} $<$ {\tt n}, then {\tt umfpack} might not find a factor
633
 
{\tt U} with a zero-free diagonal.  Unless the matrix ill-conditioned or
 
643
{\tt U} with a structurally zero-free diagonal.
 
644
Unless the matrix ill-conditioned or
634
645
poorly scaled, factorizing {\tt A'} in this case will guarantee that both
635
 
factors will have zero-free diagonals.  Here's how you can factorize {\tt A'}
 
646
factors will have zero-free diagonals.  Note that there is no guarantee
 
647
as to the size of the diagonal entries of {\tt U}; UMFPACK does not do a
 
648
rank-revealing factorization.  Here's how you can factorize {\tt A'}
636
649
and get the factors of {\tt A} instead:
637
650
 
638
651
\begin{verbatim}
2036
2049
You can skip this section and go to next one if all you want to use is
2037
2050
the UMFPACK and AMD mexFunctions in MATLAB.
2038
2051
 
2039
 
You will need to install both UMFPACK v5.0 and AMD v2.0 to use UMFPACK.
 
2052
You will need to install both UMFPACK and AMD to use UMFPACK.
2040
2053
The {\tt UMFPACK} and {\tt AMD} subdirectories must be placed side-by-side
2041
2054
within the same directory.  AMD is a stand-alone package that
2042
2055
is required by UMFPACK.  UMFPACK can be compiled without the
2212
2225
compile the UMFPACK mexFunction).  This works on any computer with MATLAB,
2213
2226
including Windows.
2214
2227
 
2215
 
% You will be prompted to select several configuration options, including
2216
 
% whether or not to use the BLAS.
2217
 
% MATLAB 5.3 (or earlier) does not include the BLAS, so you either have to
2218
 
% compile UMFPACK without the BLAS (UMFPACK will be slow), or modify your
2219
 
% {\tt <matlab>/bin/mexopts.sh} by adding your BLAS library
2220
 
% to the {\tt CLIBS} string,
2221
 
% where {\tt <matlab>} is the directory in which MATLAB is installed.
2222
 
 
2223
2228
If you are using Windows and the {\tt lcc} compiler bundled with
2224
2229
MATLAB 6.1, then you may need to copy the
2225
2230
{\tt UMFPACK}$\backslash${\tt MATLAB}$\backslash${\tt lcc\_lib}$\backslash${\tt libmwlapack.lib}