kusano 7d535a
function x = mexlusolve(A,b,Pcol)
kusano 7d535a
% MEXLUSOLVE : Supernodal LU factor-and-solve.
kusano 7d535a
%
kusano 7d535a
%  MEXLUSOLVE is the mex-file version of the supernodal solver.
kusano 7d535a
%  The user will normally call LUSOLVE, which calls MEXLUSOLVE.
kusano 7d535a
%  See LUSOLVE for a description of parameters.
kusano 7d535a
kusano 7d535a
% Above is the text for HELP MEXLUSOLVE; the following will be executed 
kusano 7d535a
% only if the mex-file appropriate for the machine can't be found.
kusano 7d535a
kusano 7d535a
disp('Warning:  Executable mexlusolve.mex not found for this architecture.');
kusano 7d535a
disp('The supernodal LU package seems not to be installed (or built for Matlab).');
kusano 7d535a
x = zeros(size(A,2),1);