Rank: 3440 based on 35 downloads (last 30 days) and 2 files submitted
photo

Leslie Foster

E-mail
Company/University
San Jose State University

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Leslie View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
03 Aug 2012 rook pivoting LURP: Gaussian elimination with rook pivoting using efficient Fortran and MATLAB mex code Author: Leslie Foster rook pivoting, lu factorization, rook, pivoting, pivot, lu 23 1
04 Jun 2009 MEXING WITH IFORT 11.0 IN 64 BIT MATLAB FOR 64 BIT MATLAB IN WINDOWS MEXING WITH MATLAB 7.6 - 7.8 AND IFORT 11.0 Author: Leslie Foster external interfaces, mex, mex setup, mexing, ifort, fortran 12 1
Comments and Ratings by Leslie View all
Updated File Comments Rating
04 Aug 2012 rook pivoting LURP: Gaussian elimination with rook pivoting using efficient Fortran and MATLAB mex code Author: Leslie Foster

If you do not have a Fortran compiler, compiled binaries -- lurp.mexw32, lurp.mexw64 and lurp.mexa64 -- needed to run the rook factorization routine, lurp, from MATLAB are at http://www.math.sjsu.edu/~foster/rookpivoting/. Leslie Foster

25 Jan 2011 MEXING WITH IFORT 11.0 IN 64 BIT MATLAB FOR 64 BIT MATLAB IN WINDOWS MEXING WITH MATLAB 7.6 - 7.8 AND IFORT 11.0 Author: Leslie Foster

As pointed out in
http://www.mathworks.com/matlabcentral/newsreader/view_thread/283589

the type of nlhs and nrhs in Matlab's mexFunction should be int*4, even on a 64 bit computer. This means that changes are required in lupp.F and luppf.F. Line 38 of lupp.F should be changed to
INTEGER*4 NLHS, NRHS
and line 25 of luppf.F should be changed to
integer m,n,lda,ldl,ldu,ldp
integer*4 nlhs
The original code worked in Matlab 7.8 but the correction is required for Matlab 7.9.

Also for lupp_mex.m to work with Matlab 7.9 (or greater, I presume, but have not tested) in lupp_mex.m the three occurrences of
version_num == 7.8
should be changed to
version_num >= 7.8).

Les Foster

Comments and Ratings on Leslie's Files View all
Updated File Comment by Comments Rating
04 Aug 2012 rook pivoting LURP: Gaussian elimination with rook pivoting using efficient Fortran and MATLAB mex code Author: Leslie Foster Foster, Leslie

If you do not have a Fortran compiler, compiled binaries -- lurp.mexw32, lurp.mexw64 and lurp.mexa64 -- needed to run the rook factorization routine, lurp, from MATLAB are at http://www.math.sjsu.edu/~foster/rookpivoting/. Leslie Foster

25 Jan 2011 MEXING WITH IFORT 11.0 IN 64 BIT MATLAB FOR 64 BIT MATLAB IN WINDOWS MEXING WITH MATLAB 7.6 - 7.8 AND IFORT 11.0 Author: Leslie Foster Foster, Leslie

As pointed out in
http://www.mathworks.com/matlabcentral/newsreader/view_thread/283589

the type of nlhs and nrhs in Matlab's mexFunction should be int*4, even on a 64 bit computer. This means that changes are required in lupp.F and luppf.F. Line 38 of lupp.F should be changed to
INTEGER*4 NLHS, NRHS
and line 25 of luppf.F should be changed to
integer m,n,lda,ldl,ldu,ldp
integer*4 nlhs
The original code worked in Matlab 7.8 but the correction is required for Matlab 7.9.

Also for lupp_mex.m to work with Matlab 7.9 (or greater, I presume, but have not tested) in lupp_mex.m the three occurrences of
version_num == 7.8
should be changed to
version_num >= 7.8).

Les Foster

Contact us