File: mexsuperlu.m

package info (click to toggle)
superlu 4.3%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 13,100 kB
  • ctags: 6,351
  • sloc: ansic: 61,952; makefile: 398; csh: 141; fortran: 108; sh: 14
file content (17 lines) | stat: -rw-r--r-- 647 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
function [L,U,prow,pcol] = mexsuperlu(A,psparse);
% MEXSUPERLU : Supernodal LU factorization
%
%  MEXSUPERLU is the mex-file version of the supernodal factorization.
%  The user will normally call SUPERLU, which calls MEXSUPERLU.
%  See SUPERLU for a description of parameters.

% Above is the text for HELP MEXSUPERLU; the following will be executed 
% only if the mex-file appropriate for the machine can't be found.

disp('Warning:  Executable mexsuperlu.mex not found for this architecture.');
disp('The supernodal LU package seems not to be installed for Matlab.');
n = max(size(A));
L = sparse(n,n);
U = sparse(n,n);
prow = 1:n;
pcol = 1:n;