HLIBpro  1.2
Public Member Functions | List of all members
TPSMatrixVis Class Reference

Implements PostScript based matrix visualisation.

#include <TMatrixVis.hh>

Inheritance diagram for TPSMatrixVis:
TMatrixVis

Public Member Functions

 TPSMatrixVis ()
 construct matrix visualisation object
TPSMatrixVisstructure (const bool b)
 turn on/off printing of structure of matrix (default)
TPSMatrixVisnonempty (const bool b)
 turn on/off printing of only nonempty blocks
TPSMatrixVisentries (const bool b)
 turn on/off printing of matrix coefficients
TPSMatrixVispattern (const bool b)
 turn on/off printing of sparsity pattern
TPSMatrixVissparse_pattern (const bool b)
 turn on/off printing of sparsity pattern of sparse matrices only
TPSMatrixVissvd (const bool b)
 turn on/off printing of SVD of matrix-blocks
TPSMatrixVisrank_col (const bool b)
 turn on/off colouring matrix blocks according to rank
TPSMatrixVismax_size_ratio (const double r)
TPSMatrixVissvd_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

Member Function Documentation

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;

  • if ref_max/ref_min 0, the largest/smallest local singular values per block are used
  • good choice for ref_max is ∥A∥₂