Code covered by the BSD License  

Highlights from
Don't let that INV go past your eyes; to solve that system, FACTORIZE!

Don't let that INV go past your eyes; to solve that system, FACTORIZE!

by

 

14 May 2009 (Updated )

A simple-to-use object-oriented method for solving linear systems and least-squares problems.

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

reset_rand
function reset_rand
%RESET_RAND resets the state of rand
%
% Example
%   reset_rand
%
% See also RandStream, rand, rng

% Copyright 2011-2012, Timothy A. Davis, http://www.suitesparse.com

if (verLessThan ('matlab', '7.12'))
    rand ('seed', 0) ;                                                      %#ok
else
    rng ('default') ;
end

Contact us