This module relates to multiple implementation of SMG2S to generate a non-Symmetric/Hermitian sparse matrix with it. More...
Functions | |
template<typename T , typename S > | |
parMatrixSparse< T, S > | nonherm (S probSize, Nilpotent< S > nilp, initMat< S > init, std::string spectrum, MPI_Comm comm) |
Generating a non-Hermitian sparse matrix using the spectrum stored in local file. More... | |
template<typename T , typename S > | |
parMatrixSparse< T, S > | nonherm (S probSize, Nilpotent< S > nilp, initMat< S > init, parVector< T, S > spec) |
Generating a non-Hermitian sparse matrix using the spectrum stored in a parVector object. More... | |
template<typename T , typename S > | |
void | nonherm (S probSize, Nilpotent< S > nilp, parMatrixSparse< T, S > *Am, parVector< T, S > spec) |
Generating a non-Hermitian sparse matrix using the spectrum stored in a parVector object and user-provided initial matrix stored in a parMatrixSparse object. More... | |
template<typename T , typename S > | |
parMatrixSparse< T, S > | nonsymm (S probSize, Nilpotent< S > nilp, initMat< S > init, std::string spectrum, MPI_Comm comm) |
Generating a non-Symmetric sparse matrix using the spectrum stored in local file. More... | |
template<typename T , typename S > | |
parMatrixSparse< T, S > | nonsymm (S probSize, Nilpotent< S > nilp, initMat< S > init, parVector< T, S > spec) |
Generating a non-Symmetric sparse matrix using the spectrum stored in a parVector object. More... | |
template<typename T , typename S > | |
void | nonsymm (S probSize, Nilpotent< S > nilp, parMatrixSparse< T, S > *Am, parVector< T, S > spec) |
Generating a non-Symmetric sparse matrix using the spectrum stored in a parVector object and user-provided initial matrix stored in a parMatrixSparse object. More... | |
template<typename T , typename S > | |
parMatrixSparse< T, S > | nonsymmconj (S probSize, Nilpotent< S > nilp, initMat< S > init, parVector< std::complex< T >, S > spec) |
Generating a non-Symmetric sparse matrix using the spectrum stored in a parVector object. More... | |
template<typename T , typename S > | |
void | nonsymmconj (S probSize, Nilpotent< S > nilp, parMatrixSparse< T, S > *Am, parVector< std::complex< T >, S > spec) |
Generating a non-Symmetric sparse matrix using the spectrum stored in a parVector object and user-provided initial matrix stored in a parMatrixSparse object. More... | |
This module relates to multiple implementation of SMG2S to generate a non-Symmetric/Hermitian sparse matrix with it.
parMatrixSparse<T,S> nonherm | ( | S | probSize, |
Nilpotent< S > | nilp, | ||
initMat< S > | init, | ||
parVector< T, S > | spec | ||
) |
Generating a non-Hermitian sparse matrix using the spectrum stored in a parVector object.
[in] | probSize | row and column number of the sparse matrix to be generated |
[in] | nilp | a Nilpotent object which determines the nilpotent matrix used by SMG2S |
[in] | init | a initMat object which determines the way of initialization of matrix, which will be further operated by SMG2S |
[in] | spec | a parVector object which stores the given spectrum by users |
parMatrixSparse<T,S> nonherm | ( | S | probSize, |
Nilpotent< S > | nilp, | ||
initMat< S > | init, | ||
std::string | spectrum, | ||
MPI_Comm | comm | ||
) |
Generating a non-Hermitian sparse matrix using the spectrum stored in local file.
[in] | probSize | row and column number of the sparse matrix to be generated |
[in] | nilp | a Nilpotent object which determines the nilpotent matrix used by SMG2S |
[in] | init | a initMat object which determines the way of initialization of matrix, which will be further operated by SMG2S |
[in] | spectrum | path and file name of a local file which provides the spectrum |
[in] | comm | the working MPI communicator |
void nonherm | ( | S | probSize, |
Nilpotent< S > | nilp, | ||
parMatrixSparse< T, S > * | Am, | ||
parVector< T, S > | spec | ||
) |
Generating a non-Hermitian sparse matrix using the spectrum stored in a parVector object and user-provided initial matrix stored in a parMatrixSparse object.
[in] | probSize | row and column number of the sparse matrix to be generated |
[in] | nilp | a Nilpotent object which determines the nilpotent matrix used by SMG2S |
[in] | Am | a parMatrixSparse provided by the users as a initial matrix of SMG2S, it can only be any sparse lower-triangular matrix |
[in] | spec | a parVector object which stores the given spectrum by users |
[out] | Am | for the output, it is overwritten by the generated non-Hermtian matrix |
parMatrixSparse<T,S> nonsymm | ( | S | probSize, |
Nilpotent< S > | nilp, | ||
initMat< S > | init, | ||
parVector< T, S > | spec | ||
) |
Generating a non-Symmetric sparse matrix using the spectrum stored in a parVector object.
[in] | probSize | row and column number of the sparse matrix to be generated |
[in] | nilp | a Nilpotent object which determines the nilpotent matrix used by SMG2S |
[in] | init | a initMat object which determines the way of initialization of matrix, which will be further operated by SMG2S |
[in] | spec | a parVector object which stores the given spectrum by users |
parMatrixSparse<T,S> nonsymm | ( | S | probSize, |
Nilpotent< S > | nilp, | ||
initMat< S > | init, | ||
std::string | spectrum, | ||
MPI_Comm | comm | ||
) |
Generating a non-Symmetric sparse matrix using the spectrum stored in local file.
[in] | probSize | row and column number of the sparse matrix to be generated |
[in] | nilp | a Nilpotent object which determines the nilpotent matrix used by SMG2S |
[in] | init | a initMat object which determines the way of initialization of matrix, which will be further operated by SMG2S |
[in] | spectrum | path and file name of a local file which provides the spectrum |
[in] | comm | the working MPI communicator |
void nonsymm | ( | S | probSize, |
Nilpotent< S > | nilp, | ||
parMatrixSparse< T, S > * | Am, | ||
parVector< T, S > | spec | ||
) |
Generating a non-Symmetric sparse matrix using the spectrum stored in a parVector object and user-provided initial matrix stored in a parMatrixSparse object.
[in] | probSize | row and column number of the sparse matrix to be generated |
[in] | nilp | a Nilpotent object which determines the nilpotent matrix used by SMG2S |
[in] | Am | a parMatrixSparse provided by the users as a initial matrix of SMG2S, it can only be any sparse lower-triangular matrix |
[in] | spec | a parVector object which stores the given spectrum by users |
[out] | Am | for the output, it is overwritten by the generated matrix |
parMatrixSparse<T,S> nonsymmconj | ( | S | probSize, |
Nilpotent< S > | nilp, | ||
initMat< S > | init, | ||
parVector< std::complex< T >, S > | spec | ||
) |
Generating a non-Symmetric sparse matrix using the spectrum stored in a parVector object.
[in] | probSize | row and column number of the sparse matrix to be generated |
[in] | nilp | a Nilpotent object which determines the nilpotent matrix used by SMG2S |
[in] | init | a initMat object which determines the way of initialization of matrix, which will be further operated by SMG2S |
[in] | spec | a parVector object which stores the given spectrum by users |
void nonsymmconj | ( | S | probSize, |
Nilpotent< S > | nilp, | ||
parMatrixSparse< T, S > * | Am, | ||
parVector< std::complex< T >, S > | spec | ||
) |
Generating a non-Symmetric sparse matrix using the spectrum stored in a parVector object and user-provided initial matrix stored in a parMatrixSparse object.
[in] | probSize | row and column number of the sparse matrix to be generated |
[in] | nilp | a Nilpotent object which determines the nilpotent matrix used by SMG2S |
[in] | Am | a parMatrixSparse provided by the users as a initial matrix of SMG2S, it can only be any sparse lower-triangular matrix |
[in] | spec | a parVector object which stores the given spectrum by users |
[out] | Am | for the output, it is overwritten by the generated matrix |