view print_issparse.m @ 574:f8072bb8d1d1 feature/grids

Add functions for symmetric and skew parts of matrix
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 04 Sep 2017 17:50:27 +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