view print_issparse.m @ 216:8b10476b9bb7 feature/beams

multiblock: Fixed some problems in DiffOp and Grid.
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 22 Jun 2016 14:44:03 +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