#include "EIG.h"
Public Member Functions | |
EIG (void) | |
EIG (const Matrix &a, bool calc_eigenvectors=true) | |
EIG (const Matrix &a, const Matrix &b, bool calc_eigenvectors=true) | |
EIG (const ComplexMatrix &a, const ComplexMatrix &b, bool calc_eigenvectors=true) | |
EIG (const ComplexMatrix &a, const ComplexMatrix &b, octave_idx_type &info, bool calc_eigenvectors=true) | |
EIG (const Matrix &a, const Matrix &b, octave_idx_type &info, bool calc_eigenvectors=true) | |
EIG (const EIG &a) | |
EIG (const Matrix &a, octave_idx_type &info, bool calc_eigenvectors=true) | |
EIG (const ComplexMatrix &a, octave_idx_type &info, bool calc_eigenvectors=true) | |
EIG (const ComplexMatrix &a, bool calc_eigenvectors=true) | |
~EIG (void) | |
ComplexColumnVector | eigenvalues (void) const |
ComplexMatrix | eigenvectors (void) const |
EIG & | operator= (const EIG &a) |
Private Member Functions | |
octave_idx_type | hermitian_init (const ComplexMatrix &a, bool calc_eigenvectors) |
octave_idx_type | hermitian_init (const ComplexMatrix &a, const ComplexMatrix &b, bool calc_eigenvectors) |
octave_idx_type | init (const ComplexMatrix &a, bool calc_eigenvectors) |
octave_idx_type | init (const ComplexMatrix &a, const ComplexMatrix &b, bool calc_eigenvectors) |
octave_idx_type | init (const Matrix &a, const Matrix &b, bool calc_eigenvectors) |
octave_idx_type | init (const Matrix &a, bool calc_eigenvectors) |
octave_idx_type | symmetric_init (const Matrix &a, const Matrix &b, bool calc_eigenvectors) |
octave_idx_type | symmetric_init (const Matrix &a, bool calc_eigenvectors) |
Private Attributes | |
ComplexColumnVector | lambda |
ComplexMatrix | v |
Friends | |
class | ComplexMatrix |
class | Matrix |
std::ostream & | operator<< (std::ostream &os, const EIG &a) |
Definition at line 32 of file EIG.h.
EIG::EIG | ( | const Matrix & | a, | |
octave_idx_type & | info, | |||
bool | calc_eigenvectors = true | |||
) | [inline] |
EIG::EIG | ( | const Matrix & | a, | |
const Matrix & | b, | |||
octave_idx_type & | info, | |||
bool | calc_eigenvectors = true | |||
) | [inline] |
EIG::EIG | ( | const ComplexMatrix & | a, | |
bool | calc_eigenvectors = true | |||
) | [inline] |
EIG::EIG | ( | const ComplexMatrix & | a, | |
octave_idx_type & | info, | |||
bool | calc_eigenvectors = true | |||
) | [inline] |
EIG::EIG | ( | const ComplexMatrix & | a, | |
const ComplexMatrix & | b, | |||
bool | calc_eigenvectors = true | |||
) | [inline] |
EIG::EIG | ( | const ComplexMatrix & | a, | |
const ComplexMatrix & | b, | |||
octave_idx_type & | info, | |||
bool | calc_eigenvectors = true | |||
) | [inline] |
ComplexColumnVector EIG::eigenvalues | ( | void | ) | const [inline] |
Definition at line 110 of file EIG.h.
Referenced by DEFUN_DLD(), qp(), and xpow().
ComplexMatrix EIG::eigenvectors | ( | void | ) | const [inline] |
Definition at line 112 of file EIG.h.
Referenced by DEFUN_DLD(), qp(), and xpow().
octave_idx_type EIG::hermitian_init | ( | const ComplexMatrix & | a, | |
bool | calc_eigenvectors | |||
) | [private] |
Definition at line 399 of file EIG.cc.
References Array< T >::cols(), ComplexMatrix, current_liboctave_error_handler, F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< T >::fortran_vec(), lambda, Array< T >::rows(), and v.
Referenced by init().
octave_idx_type EIG::hermitian_init | ( | const ComplexMatrix & | a, | |
const ComplexMatrix & | b, | |||
bool | calc_eigenvectors | |||
) | [private] |
Definition at line 794 of file EIG.cc.
References Array< T >::cols(), ComplexMatrix, current_liboctave_error_handler, F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< T >::fortran_vec(), lambda, Array< T >::rows(), and v.
octave_idx_type EIG::init | ( | const Matrix & | a, | |
const Matrix & | b, | |||
bool | calc_eigenvectors | |||
) | [private] |
Definition at line 465 of file EIG.cc.
References Matrix::any_element_is_inf_or_nan(), Array< T >::cols(), current_liboctave_error_handler, Array< T >::elem(), F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< T >::fortran_vec(), Matrix::is_symmetric(), lambda, ComplexMatrix::resize(), ComplexColumnVector::resize(), Array< T >::rows(), symmetric_init(), and v.
octave_idx_type EIG::init | ( | const ComplexMatrix & | a, | |
const ComplexMatrix & | b, | |||
bool | calc_eigenvectors | |||
) | [private] |
Definition at line 682 of file EIG.cc.
References ComplexMatrix::any_element_is_inf_or_nan(), Array< T >::cols(), current_liboctave_error_handler, Array< T >::elem(), F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< T >::fortran_vec(), hermitian_init(), ComplexMatrix::is_hermitian(), lambda, ComplexColumnVector::resize(), Array< T >::rows(), and v.
octave_idx_type EIG::init | ( | const ComplexMatrix & | a, | |
bool | calc_eigenvectors | |||
) | [private] |
Definition at line 315 of file EIG.cc.
References ComplexMatrix::any_element_is_inf_or_nan(), Array< T >::cols(), current_liboctave_error_handler, F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< T >::fortran_vec(), hermitian_init(), ComplexMatrix::is_hermitian(), lambda, Array< T >::rows(), and v.
octave_idx_type EIG::init | ( | const Matrix & | a, | |
bool | calc_eigenvectors | |||
) | [private] |
Definition at line 140 of file EIG.cc.
References Matrix::any_element_is_inf_or_nan(), Array< T >::cols(), current_liboctave_error_handler, Array< T >::elem(), F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< T >::fortran_vec(), Matrix::is_symmetric(), lambda, ComplexMatrix::resize(), ComplexColumnVector::resize(), Array< T >::rows(), symmetric_init(), v, and wi.
octave_idx_type EIG::symmetric_init | ( | const Matrix & | a, | |
const Matrix & | b, | |||
bool | calc_eigenvectors | |||
) | [private] |
Definition at line 607 of file EIG.cc.
References Array< T >::cols(), ComplexMatrix, current_liboctave_error_handler, F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< T >::fortran_vec(), lambda, Array< T >::rows(), and v.
octave_idx_type EIG::symmetric_init | ( | const Matrix & | a, | |
bool | calc_eigenvectors | |||
) | [private] |
Definition at line 254 of file EIG.cc.
References Array< T >::cols(), ComplexMatrix, current_liboctave_error_handler, F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< T >::fortran_vec(), lambda, Array< T >::rows(), and v.
Referenced by init().
friend class ComplexMatrix [friend] |
Definition at line 37 of file EIG.h.
Referenced by hermitian_init(), and symmetric_init().
std::ostream& operator<< | ( | std::ostream & | os, | |
const EIG & | a | |||
) | [friend] |
ComplexColumnVector EIG::lambda [private] |
Definition at line 118 of file EIG.h.
Referenced by hermitian_init(), init(), operator=(), and symmetric_init().
ComplexMatrix EIG::v [private] |
Definition at line 119 of file EIG.h.
Referenced by hermitian_init(), init(), operator=(), and symmetric_init().