view print_issparse.m @ 503:feebfca90080 feature/quantumTriangles

Added the new abstract classes to hypsyst3D and Upwind1D to make them work with Jonatans changes
author Ylva Rydin <ylva.rydin@telia.com>
date Tue, 16 May 2017 09:18:10 +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