Code covered by the BSD License
by Matt J
23 Dec 2009
(Updated 26 Oct 2010)
Creates sparse array like MATLAB's built-in sparse type, but robust to certain bugs/errors.
%Same as speye(), but returns result as RobustSparse type
% by Matt Jacobson
% Copyright, Xoran Technologies, Inc. 2009