Mercurial > repos > public > sbplib
annotate print_issparse.m @ 1037:2d7ba44340d0 feature/burgers1d
Pass scheme specific parameters as cell array. This will enabale constructDiffOps to be more general. In addition, allow for schemes returning function handles as diffOps, which is currently how non-linear schemes such as Burgers1d are implemented.
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Fri, 18 Jan 2019 09:02:02 +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 |