#include "octave-config.h"
#include <functional>
#include <iosfwd>
#include <string>
#include "mx-fwd.h"
#include "oct-cmplx.h"
Go to the source code of this file.
Typedefs | |
typedef std::function< ComplexColumnVector(const ComplexColumnVector &x, int &eigs_error)> | EigsComplexFunc |
typedef std::function< ColumnVector(const ColumnVector &x, int &eigs_error)> | EigsFunc |
typedef std::function<ComplexColumnVector (const ComplexColumnVector& x, int& eigs_error)> EigsComplexFunc |
Definition at line 43 of file eigs-base.h.
typedef std::function<ColumnVector (const ColumnVector& x, int& eigs_error)> EigsFunc |
Definition at line 39 of file eigs-base.h.
OCTAVE_API octave_idx_type EigsComplexNonSymmetricFunc | ( | EigsComplexFunc | fun, |
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 M & | _b, | ||
ColumnVector & | permB, | ||
ComplexColumnVector & | cresid, | ||
std::ostream & | os, | ||
double | tol, | ||
bool | rvec, | ||
bool | cholB, | ||
int | disp, | ||
int | maxit | ||
) |
Definition at line 3553 of file eigs-base.cc.
References abs(), arpack_errno2str(), ColumnVector, ComplexColumnVector, current_liboctave_error_handler, d, octave::rand::distribution(), F77_DBLE_CMPLX_ARG, F77_FUNC(), Array< T, Alloc >::fortran_vec(), Array< T, Alloc >::isempty(), octave::math::isnan(), ltsolve(), M, make_cholb(), NaN, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, ComplexColumnVector::resize(), ComplexMatrix::resize(), utsolve(), octave::rand::vector(), vector_product(), x, and octave::math::x_nint().
Referenced by F__eigs__().
OCTAVE_API octave_idx_type EigsComplexNonSymmetricMatrix | ( | const M & | m, |
const std::string | typ, | ||
octave_idx_type | k, | ||
octave_idx_type | p, | ||
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 2927 of file eigs-base.cc.
References arpack_errno2str(), ColumnVector, ComplexColumnVector, current_liboctave_error_handler, d, octave::rand::distribution(), F77_CONST_DBLE_CMPLX_ARG, F77_DBLE_CMPLX_ARG, F77_FUNC(), Array< T, Alloc >::fortran_vec(), Array< T, Alloc >::isempty(), octave::math::isnan(), ltsolve(), M, make_cholb(), NaN, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, ComplexColumnVector::resize(), ComplexMatrix::resize(), utsolve(), octave::rand::vector(), vector_product(), and octave::math::x_nint().
Referenced by F__eigs__().
OCTAVE_API octave_idx_type EigsComplexNonSymmetricMatrixShift | ( | const M & | m, |
Complex | sigma, | ||
octave_idx_type | k, | ||
octave_idx_type | p, | ||
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 3230 of file eigs-base.cc.
References arpack_errno2str(), ComplexColumnVector, current_liboctave_error_handler, d, octave::rand::distribution(), F77_CONST_DBLE_CMPLX_ARG, F77_DBLE_CMPLX_ARG, F77_FUNC(), Array< T, Alloc >::fortran_vec(), Array< T, Alloc >::isempty(), octave::math::isnan(), LuAminusSigmaB(), lusolve(), M, NaN, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, Q, ComplexColumnVector::resize(), ComplexMatrix::resize(), octave::rand::vector(), vector_product(), and octave::math::x_nint().
Referenced by F__eigs__().
OCTAVE_API octave_idx_type EigsRealNonSymmetricFunc | ( | EigsFunc | fun, |
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 M & | _b, | ||
ColumnVector & | permB, | ||
ColumnVector & | resid, | ||
std::ostream & | os, | ||
double | tol, | ||
bool | rvec, | ||
bool | cholB, | ||
int | disp, | ||
int | maxit | ||
) |
Definition at line 2485 of file eigs-base.cc.
References abs(), arpack_errno2str(), ColumnVector, current_liboctave_error_handler, d, octave::rand::distribution(), F77_FUNC(), Array< T, Alloc >::fortran_vec(), imag(), Array< T, Alloc >::isempty(), octave::math::isnan(), ltsolve(), M, make_cholb(), NaN, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, ComplexColumnVector::resize(), ComplexMatrix::resize(), utsolve(), octave::rand::vector(), vector_product(), x, and octave::math::x_nint().
Referenced by F__eigs__().
OCTAVE_API octave_idx_type EigsRealNonSymmetricMatrix | ( | const M & | m, |
const std::string | typ, | ||
octave_idx_type | k, | ||
octave_idx_type | p, | ||
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 1762 of file eigs-base.cc.
References arpack_errno2str(), ColumnVector, current_liboctave_error_handler, d, octave::rand::distribution(), F77_FUNC(), Array< T, Alloc >::fortran_vec(), imag(), Array< T, Alloc >::isempty(), octave::math::isnan(), ltsolve(), M, make_cholb(), NaN, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, ComplexColumnVector::resize(), ComplexMatrix::resize(), utsolve(), octave::rand::vector(), vector_product(), and octave::math::x_nint().
Referenced by F__eigs__().
OCTAVE_API octave_idx_type EigsRealNonSymmetricMatrixShift | ( | const M & | m, |
double | sigmar, | ||
octave_idx_type | k, | ||
octave_idx_type | p, | ||
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 2113 of file eigs-base.cc.
References arpack_errno2str(), ColumnVector, current_liboctave_error_handler, d, octave::rand::distribution(), F77_FUNC(), Array< T, Alloc >::fortran_vec(), imag(), Array< T, Alloc >::isempty(), octave::math::isnan(), LuAminusSigmaB(), lusolve(), M, NaN, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, Q, ComplexColumnVector::resize(), ComplexMatrix::resize(), octave::rand::vector(), vector_product(), and octave::math::x_nint().
Referenced by F__eigs__().
OCTAVE_API octave_idx_type EigsRealSymmetricFunc | ( | EigsFunc | fun, |
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 M & | _b, | ||
ColumnVector & | permB, | ||
ColumnVector & | resid, | ||
std::ostream & | os, | ||
double | tol, | ||
bool | rvec, | ||
bool | cholB, | ||
int | disp, | ||
int | maxit | ||
) |
Definition at line 1381 of file eigs-base.cc.
References abs(), arpack_errno2str(), ColumnVector, current_liboctave_error_handler, d, octave::rand::distribution(), F77_FUNC(), Array< T, Alloc >::fortran_vec(), Array< T, Alloc >::isempty(), octave::math::isnan(), ltsolve(), M, make_cholb(), NaN, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, ColumnVector::resize(), Matrix::resize(), utsolve(), octave::rand::vector(), vector_product(), x, and octave::math::x_nint().
Referenced by F__eigs__().
OCTAVE_API octave_idx_type EigsRealSymmetricMatrix | ( | const M & | m, |
const std::string | typ, | ||
octave_idx_type | k, | ||
octave_idx_type | p, | ||
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 786 of file eigs-base.cc.
References arpack_errno2str(), ColumnVector, current_liboctave_error_handler, d, octave::rand::distribution(), F77_FUNC(), Array< T, Alloc >::fortran_vec(), Array< T, Alloc >::isempty(), octave::math::isnan(), ltsolve(), M, make_cholb(), NaN, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, ColumnVector::resize(), Matrix::resize(), utsolve(), octave::rand::vector(), vector_product(), and octave::math::x_nint().
Referenced by F__eigs__().
OCTAVE_API octave_idx_type EigsRealSymmetricMatrixShift | ( | const M & | m, |
double | sigma, | ||
octave_idx_type | k, | ||
octave_idx_type | p, | ||
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 1078 of file eigs-base.cc.
References arpack_errno2str(), ColumnVector, current_liboctave_error_handler, d, octave::rand::distribution(), F77_FUNC(), Array< T, Alloc >::fortran_vec(), Array< T, Alloc >::isempty(), octave::math::isnan(), LuAminusSigmaB(), lusolve(), M, NaN, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, Q, ColumnVector::resize(), Matrix::resize(), octave::rand::vector(), vector_product(), and octave::math::x_nint().
Referenced by F__eigs__().