Mercurial > repos > public > sbplib
annotate print_issparse.m @ 982:a0b3161e44f3 feature/getBoundaryOp
Add the following methods in LaplaceCurvilinear: getBoundaryOperator, getBoundaryQuadrature, getBoundaryBorrowing. Remove get_boundary_ops. Make interface and boundary_condition methods use the new methods.
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Tue, 08 Jan 2019 11:51:24 +0100 |
parents | 54d3ab296ba0 |
children |
rev | line source |
---|---|
0 | 1 function print_issparse(A) |
40
54d3ab296ba0
Added Dictionary class. Added string conversions for a bunch of types. Deprecated some replaced functions.
Jonatan Werpers <jonatan@werpers.com>
parents:
0
diff
changeset
|
2 warning('Deprecated! Use printExpr() instead!'); |
0 | 3 b = issparse(A); |
4 if b | |
5 s = 'true'; | |
6 else | |
7 s = 'false'; | |
8 end | |
9 fprintf('%8s is sparse: %s\n',inputname(1),s); | |
10 end |