#include <cmath>#include <ostream>#include "Array.h"#include "CSparse.h"#include "MatrixType.h"#include "PermMatrix.h"#include "chol.h"#include "dSparse.h"#include "eigs-base.h"#include "lo-arpack-proto.h"#include "lo-blas-proto.h"#include "lo-error.h"#include "lo-ieee.h"#include "lu.h"#include "mx-ops.h"#include "oct-locbuf.h"#include "oct-rand.h"#include "sparse-chol.h"#include "sparse-lu.h"Go to the source code of this file.
| std::string arpack_errno2str | ( | const octave_idx_type & | errnum, |
| const std::string & | fcn_name | ||
| ) |
Definition at line 65 of file eigs-base.cc.
Referenced by EigsComplexNonSymmetricFunc(), EigsComplexNonSymmetricMatrix(), EigsComplexNonSymmetricMatrixShift(), EigsRealNonSymmetricFunc(), EigsRealNonSymmetricMatrix(), EigsRealNonSymmetricMatrixShift(), EigsRealSymmetricFunc(), EigsRealSymmetricMatrix(), and EigsRealSymmetricMatrixShift().
| octave_idx_type EigsComplexNonSymmetricFunc | ( | EigsComplexFunc | fcn, |
| octave_idx_type | n_arg, | ||
| const std::string & | _typ, | ||
| Complex | sigma, | ||
| octave_idx_type | k_arg, | ||
| octave_idx_type | p_arg, | ||
| octave_idx_type & | info, | ||
| ComplexMatrix & | eig_vec, | ||
| ComplexColumnVector & | eig_val, | ||
| const M & | _b, | ||
| ColumnVector & | permB, | ||
| ComplexColumnVector & | cresid, | ||
| std::ostream & | os, | ||
| double | tol, | ||
| bool | rvec, | ||
| bool | cholB, | ||
| int | disp, | ||
| int | maxit | ||
| ) |
Definition at line 3557 of file eigs-base.cc.
References arpack_errno2str(), current_liboctave_error_handler, d, F77_DBLE_CMPLX_ARG, F77_FUNC(), Array< T, Alloc >::isempty(), M, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, ComplexColumnVector::resize(), ComplexMatrix::resize(), Array< T, Alloc >::rwdata(), and x.
Referenced by F__eigs__().
| template octave_idx_type EigsComplexNonSymmetricFunc< ComplexMatrix > | ( | EigsComplexFunc | fcn, |
| octave_idx_type | n, | ||
| const std::string & | _typ, | ||
| Complex | sigma, | ||
| octave_idx_type | k, | ||
| octave_idx_type | p, | ||
| octave_idx_type & | info, | ||
| ComplexMatrix & | eig_vec, | ||
| ComplexColumnVector & | eig_val, | ||
| const ComplexMatrix & | _b, | ||
| ColumnVector & | permB, | ||
| ComplexColumnVector & | cresid, | ||
| std::ostream & | os, | ||
| double | tol, | ||
| bool | rvec, | ||
| bool | cholB, | ||
| int | disp, | ||
| int | maxit | ||
| ) |
| template octave_idx_type EigsComplexNonSymmetricFunc< SparseComplexMatrix > | ( | EigsComplexFunc | fcn, |
| octave_idx_type | n, | ||
| const std::string & | _typ, | ||
| Complex | sigma, | ||
| octave_idx_type | k, | ||
| octave_idx_type | p, | ||
| octave_idx_type & | info, | ||
| ComplexMatrix & | eig_vec, | ||
| ComplexColumnVector & | eig_val, | ||
| const SparseComplexMatrix & | _b, | ||
| ColumnVector & | permB, | ||
| ComplexColumnVector & | cresid, | ||
| std::ostream & | os, | ||
| double | tol, | ||
| bool | rvec, | ||
| bool | cholB, | ||
| int | disp, | ||
| int | maxit | ||
| ) |
| octave_idx_type EigsComplexNonSymmetricMatrix | ( | const M & | m, |
| const std::string | typ, | ||
| octave_idx_type | k_arg, | ||
| octave_idx_type | p_arg, | ||
| octave_idx_type & | info, | ||
| ComplexMatrix & | eig_vec, | ||
| ComplexColumnVector & | eig_val, | ||
| const M & | _b, | ||
| ColumnVector & | permB, | ||
| ComplexColumnVector & | cresid, | ||
| std::ostream & | os, | ||
| double | tol, | ||
| bool | rvec, | ||
| bool | cholB, | ||
| int | disp, | ||
| int | maxit | ||
| ) |
Definition at line 2931 of file eigs-base.cc.
References arpack_errno2str(), current_liboctave_error_handler, d, F77_CONST_DBLE_CMPLX_ARG, F77_DBLE_CMPLX_ARG, F77_FUNC(), Array< T, Alloc >::isempty(), M, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, ComplexColumnVector::resize(), ComplexMatrix::resize(), and Array< T, Alloc >::rwdata().
Referenced by F__eigs__().
| template octave_idx_type EigsComplexNonSymmetricMatrix< ComplexMatrix > | ( | const ComplexMatrix & | m, |
| const std::string | typ, | ||
| octave_idx_type | k, | ||
| octave_idx_type | p, | ||
| octave_idx_type & | info, | ||
| ComplexMatrix & | eig_vec, | ||
| ComplexColumnVector & | eig_val, | ||
| const ComplexMatrix & | _b, | ||
| ColumnVector & | permB, | ||
| ComplexColumnVector & | cresid, | ||
| std::ostream & | os, | ||
| double | tol, | ||
| bool | rvec, | ||
| bool | cholB, | ||
| int | disp, | ||
| int | maxit | ||
| ) |
| template octave_idx_type EigsComplexNonSymmetricMatrix< SparseComplexMatrix > | ( | const SparseComplexMatrix & | m, |
| const std::string | typ, | ||
| octave_idx_type | k, | ||
| octave_idx_type | p, | ||
| octave_idx_type & | info, | ||
| ComplexMatrix & | eig_vec, | ||
| ComplexColumnVector & | eig_val, | ||
| const SparseComplexMatrix & | _b, | ||
| ColumnVector & | permB, | ||
| ComplexColumnVector & | cresid, | ||
| std::ostream & | os, | ||
| double | tol, | ||
| bool | rvec, | ||
| bool | cholB, | ||
| int | disp, | ||
| int | maxit | ||
| ) |
| octave_idx_type EigsComplexNonSymmetricMatrixShift | ( | const M & | m, |
| Complex | sigma, | ||
| octave_idx_type | k_arg, | ||
| octave_idx_type | p_arg, | ||
| octave_idx_type & | info, | ||
| ComplexMatrix & | eig_vec, | ||
| ComplexColumnVector & | eig_val, | ||
| const M & | _b, | ||
| ColumnVector & | permB, | ||
| ComplexColumnVector & | cresid, | ||
| std::ostream & | os, | ||
| double | tol, | ||
| bool | rvec, | ||
| bool | cholB, | ||
| int | disp, | ||
| int | maxit | ||
| ) |
Definition at line 3234 of file eigs-base.cc.
References arpack_errno2str(), current_liboctave_error_handler, d, F77_CONST_DBLE_CMPLX_ARG, F77_DBLE_CMPLX_ARG, F77_FUNC(), Array< T, Alloc >::isempty(), M, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, Q, ComplexColumnVector::resize(), ComplexMatrix::resize(), and Array< T, Alloc >::rwdata().
Referenced by F__eigs__().
| template octave_idx_type EigsComplexNonSymmetricMatrixShift< ComplexMatrix > | ( | const ComplexMatrix & | m, |
| Complex | sigma, | ||
| octave_idx_type | k, | ||
| octave_idx_type | p, | ||
| octave_idx_type & | info, | ||
| ComplexMatrix & | eig_vec, | ||
| ComplexColumnVector & | eig_val, | ||
| const ComplexMatrix & | _b, | ||
| ColumnVector & | permB, | ||
| ComplexColumnVector & | cresid, | ||
| std::ostream & | os, | ||
| double | tol, | ||
| bool | rvec, | ||
| bool | cholB, | ||
| int | disp, | ||
| int | maxit | ||
| ) |
| template octave_idx_type EigsComplexNonSymmetricMatrixShift< SparseComplexMatrix > | ( | const SparseComplexMatrix & | m, |
| Complex | sigma, | ||
| octave_idx_type | k, | ||
| octave_idx_type | p, | ||
| octave_idx_type & | info, | ||
| ComplexMatrix & | eig_vec, | ||
| ComplexColumnVector & | eig_val, | ||
| const SparseComplexMatrix & | _b, | ||
| ColumnVector & | permB, | ||
| ComplexColumnVector & | cresid, | ||
| std::ostream & | os, | ||
| double | tol, | ||
| bool | rvec, | ||
| bool | cholB, | ||
| int | disp, | ||
| int | maxit | ||
| ) |
| octave_idx_type EigsRealNonSymmetricFunc | ( | EigsFunc | fcn, |
| octave_idx_type | n_arg, | ||
| const std::string & | _typ, | ||
| double | sigmar, | ||
| octave_idx_type | k_arg, | ||
| octave_idx_type | p_arg, | ||
| octave_idx_type & | info, | ||
| ComplexMatrix & | eig_vec, | ||
| ComplexColumnVector & | eig_val, | ||
| const M & | _b, | ||
| ColumnVector & | permB, | ||
| ColumnVector & | resid, | ||
| std::ostream & | os, | ||
| double | tol, | ||
| bool | rvec, | ||
| bool | cholB, | ||
| int | disp, | ||
| int | maxit | ||
| ) |
Definition at line 2489 of file eigs-base.cc.
References arpack_errno2str(), current_liboctave_error_handler, d, F77_FUNC(), Array< T, Alloc >::isempty(), M, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, ComplexColumnVector::resize(), ComplexMatrix::resize(), Array< T, Alloc >::rwdata(), and x.
Referenced by F__eigs__().
| template octave_idx_type EigsRealNonSymmetricFunc< Matrix > | ( | EigsFunc | fcn, |
| octave_idx_type | n, | ||
| const std::string & | _typ, | ||
| double | sigmar, | ||
| octave_idx_type | k, | ||
| octave_idx_type | p, | ||
| octave_idx_type & | info, | ||
| ComplexMatrix & | eig_vec, | ||
| ComplexColumnVector & | eig_val, | ||
| const Matrix & | _b, | ||
| ColumnVector & | permB, | ||
| ColumnVector & | resid, | ||
| std::ostream & | os, | ||
| double | tol, | ||
| bool | rvec, | ||
| bool | cholB, | ||
| int | disp, | ||
| int | maxit | ||
| ) |
| template octave_idx_type EigsRealNonSymmetricFunc< SparseMatrix > | ( | EigsFunc | fcn, |
| octave_idx_type | n, | ||
| const std::string & | _typ, | ||
| double | sigmar, | ||
| octave_idx_type | k, | ||
| octave_idx_type | p, | ||
| octave_idx_type & | info, | ||
| ComplexMatrix & | eig_vec, | ||
| ComplexColumnVector & | eig_val, | ||
| const SparseMatrix & | _b, | ||
| ColumnVector & | permB, | ||
| ColumnVector & | resid, | ||
| std::ostream & | os, | ||
| double | tol, | ||
| bool | rvec, | ||
| bool | cholB, | ||
| int | disp, | ||
| int | maxit | ||
| ) |
| octave_idx_type EigsRealNonSymmetricMatrix | ( | const M & | m, |
| const std::string | typ, | ||
| octave_idx_type | k_arg, | ||
| octave_idx_type | p_arg, | ||
| octave_idx_type & | info, | ||
| ComplexMatrix & | eig_vec, | ||
| ComplexColumnVector & | eig_val, | ||
| const M & | _b, | ||
| ColumnVector & | permB, | ||
| ColumnVector & | resid, | ||
| std::ostream & | os, | ||
| double | tol, | ||
| bool | rvec, | ||
| bool | cholB, | ||
| int | disp, | ||
| int | maxit | ||
| ) |
Definition at line 1766 of file eigs-base.cc.
References arpack_errno2str(), current_liboctave_error_handler, d, F77_FUNC(), Array< T, Alloc >::isempty(), M, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, ComplexColumnVector::resize(), ComplexMatrix::resize(), and Array< T, Alloc >::rwdata().
Referenced by F__eigs__().
| template octave_idx_type EigsRealNonSymmetricMatrix< Matrix > | ( | const Matrix & | m, |
| const std::string | typ, | ||
| octave_idx_type | k, | ||
| octave_idx_type | p, | ||
| octave_idx_type & | info, | ||
| ComplexMatrix & | eig_vec, | ||
| ComplexColumnVector & | eig_val, | ||
| const Matrix & | _b, | ||
| ColumnVector & | permB, | ||
| ColumnVector & | resid, | ||
| std::ostream & | os, | ||
| double | tol, | ||
| bool | rvec, | ||
| bool | cholB, | ||
| int | disp, | ||
| int | maxit | ||
| ) |
| template octave_idx_type EigsRealNonSymmetricMatrix< SparseMatrix > | ( | const SparseMatrix & | m, |
| const std::string | typ, | ||
| octave_idx_type | k, | ||
| octave_idx_type | p, | ||
| octave_idx_type & | info, | ||
| ComplexMatrix & | eig_vec, | ||
| ComplexColumnVector & | eig_val, | ||
| const SparseMatrix & | _b, | ||
| ColumnVector & | permB, | ||
| ColumnVector & | resid, | ||
| std::ostream & | os, | ||
| double | tol, | ||
| bool | rvec, | ||
| bool | cholB, | ||
| int | disp, | ||
| int | maxit | ||
| ) |
| octave_idx_type EigsRealNonSymmetricMatrixShift | ( | const M & | m, |
| double | sigmar, | ||
| octave_idx_type | k_arg, | ||
| octave_idx_type | p_arg, | ||
| octave_idx_type & | info, | ||
| ComplexMatrix & | eig_vec, | ||
| ComplexColumnVector & | eig_val, | ||
| const M & | _b, | ||
| ColumnVector & | permB, | ||
| ColumnVector & | resid, | ||
| std::ostream & | os, | ||
| double | tol, | ||
| bool | rvec, | ||
| bool | cholB, | ||
| int | disp, | ||
| int | maxit | ||
| ) |
Definition at line 2117 of file eigs-base.cc.
References arpack_errno2str(), current_liboctave_error_handler, d, F77_FUNC(), Array< T, Alloc >::isempty(), M, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, Q, ComplexColumnVector::resize(), ComplexMatrix::resize(), and Array< T, Alloc >::rwdata().
Referenced by F__eigs__().
| template octave_idx_type EigsRealNonSymmetricMatrixShift< Matrix > | ( | const Matrix & | m, |
| double | sigmar, | ||
| octave_idx_type | k, | ||
| octave_idx_type | p, | ||
| octave_idx_type & | info, | ||
| ComplexMatrix & | eig_vec, | ||
| ComplexColumnVector & | eig_val, | ||
| const Matrix & | _b, | ||
| ColumnVector & | permB, | ||
| ColumnVector & | resid, | ||
| std::ostream & | os, | ||
| double | tol, | ||
| bool | rvec, | ||
| bool | cholB, | ||
| int | disp, | ||
| int | maxit | ||
| ) |
| template octave_idx_type EigsRealNonSymmetricMatrixShift< SparseMatrix > | ( | const SparseMatrix & | m, |
| double | sigmar, | ||
| octave_idx_type | k, | ||
| octave_idx_type | p, | ||
| octave_idx_type & | info, | ||
| ComplexMatrix & | eig_vec, | ||
| ComplexColumnVector & | eig_val, | ||
| const SparseMatrix & | _b, | ||
| ColumnVector & | permB, | ||
| ColumnVector & | resid, | ||
| std::ostream & | os, | ||
| double | tol, | ||
| bool | rvec, | ||
| bool | cholB, | ||
| int | disp, | ||
| int | maxit | ||
| ) |
| octave_idx_type EigsRealSymmetricFunc | ( | EigsFunc | fcn, |
| octave_idx_type | n_arg, | ||
| const std::string & | _typ, | ||
| double | sigma, | ||
| octave_idx_type | k_arg, | ||
| octave_idx_type | p_arg, | ||
| octave_idx_type & | info, | ||
| Matrix & | eig_vec, | ||
| ColumnVector & | eig_val, | ||
| const M & | _b, | ||
| ColumnVector & | permB, | ||
| ColumnVector & | resid, | ||
| std::ostream & | os, | ||
| double | tol, | ||
| bool | rvec, | ||
| bool | cholB, | ||
| int | disp, | ||
| int | maxit | ||
| ) |
Definition at line 1385 of file eigs-base.cc.
References arpack_errno2str(), current_liboctave_error_handler, d, F77_FUNC(), Array< T, Alloc >::isempty(), M, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, ColumnVector::resize(), Matrix::resize(), Array< T, Alloc >::rwdata(), and x.
Referenced by F__eigs__().
| template octave_idx_type EigsRealSymmetricFunc< Matrix > | ( | EigsFunc | fcn, |
| octave_idx_type | n, | ||
| const std::string & | _typ, | ||
| double | sigma, | ||
| octave_idx_type | k, | ||
| octave_idx_type | p, | ||
| octave_idx_type & | info, | ||
| Matrix & | eig_vec, | ||
| ColumnVector & | eig_val, | ||
| const Matrix & | _b, | ||
| ColumnVector & | permB, | ||
| ColumnVector & | resid, | ||
| std::ostream & | os, | ||
| double | tol, | ||
| bool | rvec, | ||
| bool | cholB, | ||
| int | disp, | ||
| int | maxit | ||
| ) |
| template octave_idx_type EigsRealSymmetricFunc< SparseMatrix > | ( | EigsFunc | fcn, |
| octave_idx_type | n, | ||
| const std::string & | _typ, | ||
| double | sigma, | ||
| octave_idx_type | k, | ||
| octave_idx_type | p, | ||
| octave_idx_type & | info, | ||
| Matrix & | eig_vec, | ||
| ColumnVector & | eig_val, | ||
| const SparseMatrix & | _b, | ||
| ColumnVector & | permB, | ||
| ColumnVector & | resid, | ||
| std::ostream & | os, | ||
| double | tol, | ||
| bool | rvec, | ||
| bool | cholB, | ||
| int | disp, | ||
| int | maxit | ||
| ) |
| octave_idx_type EigsRealSymmetricMatrix | ( | const M & | m, |
| const std::string | typ, | ||
| octave_idx_type | k_arg, | ||
| octave_idx_type | p_arg, | ||
| octave_idx_type & | info, | ||
| Matrix & | eig_vec, | ||
| ColumnVector & | eig_val, | ||
| const M & | _b, | ||
| ColumnVector & | permB, | ||
| ColumnVector & | resid, | ||
| std::ostream & | os, | ||
| double | tol, | ||
| bool | rvec, | ||
| bool | cholB, | ||
| int | disp, | ||
| int | maxit | ||
| ) |
Definition at line 790 of file eigs-base.cc.
References arpack_errno2str(), current_liboctave_error_handler, d, F77_FUNC(), Array< T, Alloc >::isempty(), M, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, ColumnVector::resize(), Matrix::resize(), and Array< T, Alloc >::rwdata().
Referenced by F__eigs__().
| template octave_idx_type EigsRealSymmetricMatrix< Matrix > | ( | const Matrix & | m, |
| const std::string | typ, | ||
| octave_idx_type | k, | ||
| octave_idx_type | p, | ||
| octave_idx_type & | info, | ||
| Matrix & | eig_vec, | ||
| ColumnVector & | eig_val, | ||
| const Matrix & | _b, | ||
| ColumnVector & | permB, | ||
| ColumnVector & | resid, | ||
| std::ostream & | os, | ||
| double | tol, | ||
| bool | rvec, | ||
| bool | cholB, | ||
| int | disp, | ||
| int | maxit | ||
| ) |
| template octave_idx_type EigsRealSymmetricMatrix< SparseMatrix > | ( | const SparseMatrix & | m, |
| const std::string | typ, | ||
| octave_idx_type | k, | ||
| octave_idx_type | p, | ||
| octave_idx_type & | info, | ||
| Matrix & | eig_vec, | ||
| ColumnVector & | eig_val, | ||
| const SparseMatrix & | _b, | ||
| ColumnVector & | permB, | ||
| ColumnVector & | resid, | ||
| std::ostream & | os, | ||
| double | tol, | ||
| bool | rvec, | ||
| bool | cholB, | ||
| int | disp, | ||
| int | maxit | ||
| ) |
| octave_idx_type EigsRealSymmetricMatrixShift | ( | const M & | m, |
| double | sigma, | ||
| octave_idx_type | k_arg, | ||
| octave_idx_type | p_arg, | ||
| octave_idx_type & | info, | ||
| Matrix & | eig_vec, | ||
| ColumnVector & | eig_val, | ||
| const M & | _b, | ||
| ColumnVector & | permB, | ||
| ColumnVector & | resid, | ||
| std::ostream & | os, | ||
| double | tol, | ||
| bool | rvec, | ||
| bool | cholB, | ||
| int | disp, | ||
| int | maxit | ||
| ) |
Definition at line 1082 of file eigs-base.cc.
References arpack_errno2str(), current_liboctave_error_handler, d, F77_FUNC(), Array< T, Alloc >::isempty(), M, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, Q, ColumnVector::resize(), Matrix::resize(), and Array< T, Alloc >::rwdata().
Referenced by F__eigs__().
| template octave_idx_type EigsRealSymmetricMatrixShift< Matrix > | ( | const Matrix & | m, |
| double | sigma, | ||
| octave_idx_type | k, | ||
| octave_idx_type | p, | ||
| octave_idx_type & | info, | ||
| Matrix & | eig_vec, | ||
| ColumnVector & | eig_val, | ||
| const Matrix & | _b, | ||
| ColumnVector & | permB, | ||
| ColumnVector & | resid, | ||
| std::ostream & | os, | ||
| double | tol, | ||
| bool | rvec, | ||
| bool | cholB, | ||
| int | disp, | ||
| int | maxit | ||
| ) |
| template octave_idx_type EigsRealSymmetricMatrixShift< SparseMatrix > | ( | const SparseMatrix & | m, |
| double | sigma, | ||
| octave_idx_type | k, | ||
| octave_idx_type | p, | ||
| octave_idx_type & | info, | ||
| Matrix & | eig_vec, | ||
| ColumnVector & | eig_val, | ||
| const SparseMatrix & | _b, | ||
| ColumnVector & | permB, | ||
| ColumnVector & | resid, | ||
| std::ostream & | os, | ||
| double | tol, | ||
| bool | rvec, | ||
| bool | cholB, | ||
| int | disp, | ||
| int | maxit | ||
| ) |