SMG2S
Sparse Matrix Generator with Given Spectrum
|
|
24 #ifndef __INIT_MAT_H__
25 #define __INIT_MAT_H__
95 initMat(S diagl, S diagu,
double Sparsity){
111 initMat(S diagl, S diagu,
double Scale,
double Sparsity){
123 std::cout <<
"Init Mat parameters:" << std::endl;
124 std::cout <<
" diag_l: " <<
diag_l <<
", diag_u: " <<
diag_u <<
", scale: " <<
scale <<
", sparsity: " <<
sparsity << std::endl;
initMat(S diagl, S diagu, double Sparsity)
A constructor of struct `initMat`.
Definition: initMat.hpp:95
double sparsity
Definition: initMat.hpp:59
S diag_l
Definition: initMat.hpp:47
void show()
A member function of struct `initMat` to display all its variables.
Definition: initMat.hpp:122
double scale
Definition: initMat.hpp:55
A struct which stores the information for the initial input matrix of SMG2S.
Definition: initMat.hpp:42
S diag_u
Definition: initMat.hpp:51
initMat(S diagl, S diagu)
A constructor of struct `initMat`.
Definition: initMat.hpp:80
initMat(S diagl, S diagu, double Scale, double Sparsity)
A constructor of struct `initMat`.
Definition: initMat.hpp:111
initMat()
A constructor of struct `initMat`.
Definition: initMat.hpp:66