This is a dedicated mex-file to efficiently compute the Sparse-Matrix-Vector-Product (smvp).
x = smvp(A,b);
This is generally 4 times faster than x = A*b for large A (On my machine).
Type "help smvp" and "smvp_demo" for more information.
NOTE: You will need either windows or the MATLAB compiler to use this function. A pre-compiled version is included, but you can re-compile via:
mex -O smvp.c
You may also find my efficient LU substitution function useful:
P.S This again can be useful in the numerical solution of PDE's.
NOTE: The zip file should now work (03/04/2006) but I have removed the demo