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

« back to all changes in this revision

Viewing changes to KLU/MATLAB/old/klus.m

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Prud'homme
  • Date: 2007-05-29 09:36:29 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070529093629-zowquo0b7slkk6nc
Tags: 3.0.0-2
* suitesparse builds properly twice in a row
* Bug fix: "suitesparse - FTBFS: Broken build depens: libgfortran1-dev",
  thanks to Bastian Blank (Closes: #426349).
* Bug fix: "suitesparse_3.0.0-1: FTBFS: build-depends on
  libgfortran1-dev", thanks to Steve Langasek (Closes: #426354).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
function [x, info] = klus (A, b)
2
 
% [x, Info] = klus (A, b)
3
 
%
4
 
% Info (1): # of blocks
5
 
% Info (2): dimension of largest block
6
 
% Info (3): nnz (L+U+off diagonal blocks)
7
 
 
8
 
% this is out of date:
9
 
% usage: [x, Info] = klus (A, b, tol)
10
 
%
11
 
% tol: partial pivoting tolerance.  Use 1e-3 (for example) to prefer diagonal
12
 
% pivoting.
13
 
 
14
 
% THis is out of date:
15
 
% Info (1): n
16
 
% Info (2): nz in off diagonal part
17
 
% Info (3): # of blocks
18
 
% Info (4): max nz in diagonal blocks of A
19
 
% Info (5): dimension of largest block
20
 
% Info (6): estimated nz in L, incl. diagonal, excludes off-diagonal entries
21
 
% Info (7): estimated nz in U, incl. diagonal, excludes off-diagonal entries
22
 
%
23
 
% Info (8): nz in L, including diagonal, excludes off-diagonal entries
24
 
% Info (9): nz in U, including diagonal, excludes off-diagonal entries
25
 
% Info (10): analyze cputime
26
 
% Info (11): factor cputime
27
 
% Info (12): solve cputime
28
 
% Info (13): refactorize cputime (if computed)
29
 
% Info (14): # off-diagonal pivots chosen
30
 
%
31
 
% b may be n-by-m with m > 1.  It must be dense.
32
 
%
33
 
 
34
 
help klus
35
 
error ('klus mexFunction not found') ;