view print_issparse.m @ 495:b91d23271481 feature/quantumTriangles

Added new penalty parameter to the interface in shrodinger curve
author Ylva Rydin <ylva.rydin@telia.com>
date Fri, 24 Feb 2017 09:04:02 +0100
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