HLIBpro
2.8.1
|
Implements 2D based matrix visualisation.
#include <TMatrixVis.hh>
Public Member Functions | |
T2DMatrixVis () | |
construct matrix visualisation object | |
T2DMatrixVis & | border (const bool b) |
turn on/off printing of matrix block border (default: on) | |
T2DMatrixVis & | color (const bool b) |
turn on/off color usage for visualization (default: on) | |
T2DMatrixVis & | structure (const bool b) |
turn on/off printing of structure of matrix (default: on) | |
T2DMatrixVis & | indexset (const bool b) |
turn on/off printing of indexsets (default: off) | |
T2DMatrixVis & | id (const bool b) |
turn on/off printing of id (default: off) | |
T2DMatrixVis & | nonempty (const bool b) |
turn on/off printing of only nonempty blocks (default: off) | |
T2DMatrixVis & | only_local (const bool b) |
turn on/off printing of local/non-local matrix blocks (default: off) | |
T2DMatrixVis & | neighbours (const bool b) |
turn on/off printing of neighbourhood relation (default: off) | |
T2DMatrixVis & | entries (const bool b) |
turn on/off printing of matrix coefficients (default: off) | |
T2DMatrixVis & | pattern (const bool b) |
turn on/off printing of sparsity pattern (default: off) | |
T2DMatrixVis & | sparse_pattern (const bool b) |
turn on/off printing of sparsity pattern of sparse matrices only (default: off) | |
T2DMatrixVis & | svd (const bool b) |
turn on/off printing of SVD of matrix-blocks (default: off) | |
T2DMatrixVis & | rank_col (const bool b, const size_t max_rank=0, const std::string &cmap="default") |
T2DMatrixVis & | mem_col (const bool b, const std::string &cmap="default") |
turn on/off colouring matrix blocks according to memory consumption (default: off) | |
T2DMatrixVis & | max_size_ratio (const double r) |
T2DMatrixVis & | max_level (const size_t l) |
set maximal level in matrix (no blocks on levels below will be printed) (default: 0 [off]) | |
T2DMatrixVis & | svd_ref (const double ref_max, const double ref_min=Limits::epsilon< double >()) |
virtual void | print (const TMatrix *A, const std::string &filename) const |
print matrix A to file filename | |
T2DMatrixVis& max_size_ratio | ( | const double | r | ) |
set maximal allowed ratio of block size compared to largest block size (default: 1000); if ratio is exceeded, block will not be printed to limit file size for very large matrices
T2DMatrixVis& rank_col | ( | const bool | b, |
const size_t | max_rank = 0 , |
||
const std::string & | cmap = "default" |
||
) |
turn on/off colouring matrix blocks according to rank compared with max_rank (default: off) if max_rank is 0, it is compared with block local maximal rank
T2DMatrixVis& 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;