GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
EIG Class Reference

#include "EIG.h"

Collaboration diagram for EIG:

Public Member Functions

 EIG (const ComplexMatrix &a, bool calc_rev=true, bool calc_lev=true, bool balance=true)
 
 EIG (const ComplexMatrix &a, const ComplexMatrix &b, bool calc_rev=true, bool calc_lev=true, bool force_qz=false)
 
 EIG (const ComplexMatrix &a, const ComplexMatrix &b, octave_idx_type &info, bool calc_rev=true, bool calc_lev=true, bool force_qz=false)
 
 EIG (const ComplexMatrix &a, octave_idx_type &info, bool calc_rev=true, bool calc_lev=true, bool balance=true)
 
 EIG (const EIG &a)
 
 EIG (const Matrix &a, bool calc_rev=true, bool calc_lev=true, bool balance=true)
 
 EIG (const Matrix &a, const Matrix &b, bool calc_rev=true, bool calc_lev=true, bool force_qz=false)
 
 EIG (const Matrix &a, const Matrix &b, octave_idx_type &info, bool calc_rev=true, bool calc_lev=true, bool force_qz=false)
 
 EIG (const Matrix &a, octave_idx_type &info, bool calc_rev=true, bool calc_lev=true, bool balance=true)
 
 EIG (void)
 
 ~EIG (void)=default
 
ComplexColumnVector eigenvalues (void) const
 
ComplexMatrix left_eigenvectors (void) const
 
EIGoperator= (const EIG &a)
 
ComplexMatrix right_eigenvectors (void) const
 

Private Member Functions

octave_idx_type hermitian_init (const ComplexMatrix &a, bool calc_rev, bool calc_lev)
 
octave_idx_type hermitian_init (const ComplexMatrix &a, const ComplexMatrix &b, bool calc_rev, bool calc_lev)
 
octave_idx_type init (const ComplexMatrix &a, bool calc_rev, bool calc_lev, bool balance)
 
octave_idx_type init (const ComplexMatrix &a, const ComplexMatrix &b, bool calc_rev, bool calc_lev, bool force_qz)
 
octave_idx_type init (const Matrix &a, bool calc_rev, bool calc_lev, bool balance)
 
octave_idx_type init (const Matrix &a, const Matrix &b, bool calc_rev, bool calc_lev, bool force_qz)
 
octave_idx_type symmetric_init (const Matrix &a, bool calc_rev, bool calc_lev)
 
octave_idx_type symmetric_init (const Matrix &a, const Matrix &b, bool calc_rev, bool calc_lev)
 

Private Attributes

ComplexColumnVector lambda
 
ComplexMatrix v
 
ComplexMatrix w
 

Friends

class ComplexMatrix
 
class Matrix
 
std::ostream & operator<< (std::ostream &os, const EIG &a)
 

Detailed Description

Definition at line 38 of file EIG.h.

Constructor & Destructor Documentation

◆ EIG() [1/10]

EIG::EIG ( void  )
inline

Definition at line 47 of file EIG.h.

◆ EIG() [2/10]

EIG::EIG ( const Matrix a,
bool  calc_rev = true,
bool  calc_lev = true,
bool  balance = true 
)
inline

Definition at line 49 of file EIG.h.

◆ EIG() [3/10]

EIG::EIG ( const Matrix a,
octave_idx_type info,
bool  calc_rev = true,
bool  calc_lev = true,
bool  balance = true 
)
inline

Definition at line 56 of file EIG.h.

◆ EIG() [4/10]

EIG::EIG ( const Matrix a,
const Matrix b,
bool  calc_rev = true,
bool  calc_lev = true,
bool  force_qz = false 
)
inline

Definition at line 63 of file EIG.h.

◆ EIG() [5/10]

EIG::EIG ( const Matrix a,
const Matrix b,
octave_idx_type info,
bool  calc_rev = true,
bool  calc_lev = true,
bool  force_qz = false 
)
inline

Definition at line 70 of file EIG.h.

◆ EIG() [6/10]

EIG::EIG ( const ComplexMatrix a,
bool  calc_rev = true,
bool  calc_lev = true,
bool  balance = true 
)
inline

Definition at line 77 of file EIG.h.

◆ EIG() [7/10]

EIG::EIG ( const ComplexMatrix a,
octave_idx_type info,
bool  calc_rev = true,
bool  calc_lev = true,
bool  balance = true 
)
inline

Definition at line 84 of file EIG.h.

◆ EIG() [8/10]

EIG::EIG ( const ComplexMatrix a,
const ComplexMatrix b,
bool  calc_rev = true,
bool  calc_lev = true,
bool  force_qz = false 
)
inline

Definition at line 91 of file EIG.h.

◆ EIG() [9/10]

EIG::EIG ( const ComplexMatrix a,
const ComplexMatrix b,
octave_idx_type info,
bool  calc_rev = true,
bool  calc_lev = true,
bool  force_qz = false 
)
inline

Definition at line 98 of file EIG.h.

◆ EIG() [10/10]

EIG::EIG ( const EIG a)
inline

Definition at line 106 of file EIG.h.

◆ ~EIG()

EIG::~EIG ( void  )
default

Member Function Documentation

◆ eigenvalues()

ComplexColumnVector EIG::eigenvalues ( void  ) const
inline

Definition at line 121 of file EIG.h.

Referenced by Feig(), is_coplanar(), qp(), and xpow().

◆ hermitian_init() [1/2]

octave_idx_type EIG::hermitian_init ( const ComplexMatrix a,
bool  calc_rev,
bool  calc_lev 
)
private

◆ hermitian_init() [2/2]

octave_idx_type EIG::hermitian_init ( const ComplexMatrix a,
const ComplexMatrix b,
bool  calc_rev,
bool  calc_lev 
)
private

◆ init() [1/4]

octave_idx_type EIG::init ( const ComplexMatrix a,
bool  calc_rev,
bool  calc_lev,
bool  balance 
)
private

◆ init() [2/4]

◆ init() [3/4]

◆ init() [4/4]

octave_idx_type EIG::init ( const Matrix a,
const Matrix b,
bool  calc_rev,
bool  calc_lev,
bool  force_qz 
)
private

◆ left_eigenvectors()

ComplexMatrix EIG::left_eigenvectors ( void  ) const
inline

Definition at line 123 of file EIG.h.

References Faddeeva::w().

Referenced by Feig().

◆ operator=()

EIG& EIG::operator= ( const EIG a)
inline

Definition at line 108 of file EIG.h.

References lambda, v, Faddeeva::w(), and w.

◆ right_eigenvectors()

ComplexMatrix EIG::right_eigenvectors ( void  ) const
inline

Definition at line 122 of file EIG.h.

Referenced by Feig(), qp(), and xpow().

◆ symmetric_init() [1/2]

octave_idx_type EIG::symmetric_init ( const Matrix a,
bool  calc_rev,
bool  calc_lev 
)
private

Definition at line 178 of file EIG.cc.

References Array< T >::cols(), ComplexMatrix, F77_XFCN, Array< T >::fortran_vec(), lambda, n, Array< T >::rows(), v, and w.

Referenced by init().

◆ symmetric_init() [2/2]

octave_idx_type EIG::symmetric_init ( const Matrix a,
const Matrix b,
bool  calc_rev,
bool  calc_lev 
)
private

Friends And Related Function Documentation

◆ ComplexMatrix

friend class ComplexMatrix
friend

Definition at line 43 of file EIG.h.

Referenced by hermitian_init(), and symmetric_init().

◆ Matrix

friend class Matrix
friend

Definition at line 42 of file EIG.h.

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const EIG a 
)
friend

Member Data Documentation

◆ lambda

ComplexColumnVector EIG::lambda
private

Definition at line 129 of file EIG.h.

Referenced by hermitian_init(), init(), operator=(), and symmetric_init().

◆ v

ComplexMatrix EIG::v
private

Definition at line 130 of file EIG.h.

Referenced by hermitian_init(), init(), operator=(), and symmetric_init().

◆ w

ComplexMatrix EIG::w
private

Definition at line 131 of file EIG.h.

Referenced by hermitian_init(), init(), operator=(), and symmetric_init().


The documentation for this class was generated from the following files: