|
| template<typename Value, typename Parameters> |
| mat::compressed2D< Value > | mtl::sparse::shift_diagonal (const mat::compressed2D< Value, Parameters > &A, Value sigma) |
| | Build B = A - sigma*I as a new CSR sparse matrix.
|
| template<typename Accumulator = void, typename Value, typename Parameters> |
| itl::ritz_pairs< std::complex< Value > > | mtl::sparse::sparse_eigs_shift_invert (const mat::compressed2D< Value, Parameters > &A, Value sigma, std::size_t k, std::size_t subspace=0, Value tol=Value(1e-8)) |
| | Compute the k eigenvalues of a sparse matrix A nearest the shift sigma, with their eigenvectors, by Arnoldi on the shift-invert operator (A - sigma*I)^{-1}.
|
| template<typename Accumulator = void, typename Value, typename Parameters> |
| itl::ritz_pairs< std::complex< Value > > | mtl::sparse::sparse_eigs (const mat::compressed2D< Value, Parameters > &A, std::size_t k, itl::eigen_which which=itl::eigen_which::largest_magnitude, std::size_t subspace=0, Value tol=Value(1e-8)) |
| | Compute the k eigenvalues of a sparse matrix A of largest magnitude (or per which) with eigenvectors, by Arnoldi applied directly to the sparse operator – no factorization.
|