Code covered by the BSD License  

Highlights from
Robust Sparse data types

Robust Sparse data types

by

 

23 Dec 2009 (Updated )

Creates sparse array like MATLAB's built-in sparse type, but robust to certain bugs/errors.

obj=rspeye(varargin)
function obj=rspeye(varargin)
%Same as speye(), but returns result as RobustSparse type
%
%
% by Matt Jacobson
%
% Copyright, Xoran Technologies, Inc. 2009
%

 obj=rsparse(speye(varargin{:}));

Contact us