view print_issparse.m @ 222:e7e73173d44d feature/beams

time.Rungekutta4SecondOrder: Started adding code to allow timedependent D,E,S. Might be buggy.
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 28 Jun 2016 13:21:02 +0200
parents 54d3ab296ba0
children
line wrap: on
line source

function print_issparse(A)
    warning('Deprecated! Use printExpr() instead!');
    b = issparse(A);
    if b
        s = 'true';
    else
        s = 'false';
    end
    fprintf('%8s is sparse: %s\n',inputname(1),s);
end