HLIBpro
1.2
|
Implements PostScript based matrix visualisation.
#include <TMatrixVis.hh>
Public Member Functions | |
TPSMatrixVis () | |
construct matrix visualisation object | |
TPSMatrixVis & | structure (const bool b) |
turn on/off printing of structure of matrix (default) | |
TPSMatrixVis & | nonempty (const bool b) |
turn on/off printing of only nonempty blocks | |
TPSMatrixVis & | entries (const bool b) |
turn on/off printing of matrix coefficients | |
TPSMatrixVis & | pattern (const bool b) |
turn on/off printing of sparsity pattern | |
TPSMatrixVis & | sparse_pattern (const bool b) |
turn on/off printing of sparsity pattern of sparse matrices only | |
TPSMatrixVis & | svd (const bool b) |
turn on/off printing of SVD of matrix-blocks | |
TPSMatrixVis & | rank_col (const bool b) |
turn on/off colouring matrix blocks according to rank | |
TPSMatrixVis & | max_size_ratio (const double r) |
TPSMatrixVis & | svd_ref (const double ref_max, const double ref_min=Limits::epsilon< double >()) |
virtual void | print (const TMatrix *A, const String &filename) const |
print matrix A to file filename |
TPSMatrixVis& max_size_ratio | ( | const double | r | ) |
set maximal allowed ratio of block size compared to largest block size; if ratio is exceeded, block will not be printed (for very large matrices this limits file size)
TPSMatrixVis& svd_ref | ( | const double | ref_max, |
const double | ref_min = Limits::epsilon< double >() |
||
) |
set value of largest/smallest singular value to compare with for each block;