23 #if ! defined (octave_EIG_h)
24 #define octave_EIG_h 1
26 #include "octave-config.h"
43 EIG (
void) : lambda (), v (),
w () { }
46 bool calc_lev =
true,
bool balance =
true)
47 : lambda (), v (),
w ()
49 init (a, calc_rev, calc_lev, balance);
53 bool calc_rev =
true,
bool calc_lev =
true,
bool balance =
true)
54 : lambda (), v (),
w ()
56 info = init (a, calc_rev, calc_lev, balance);
60 bool calc_rev =
true,
bool calc_lev =
true,
bool force_qz =
false)
61 : lambda (), v (),
w ()
63 init (a, b, calc_rev, calc_lev, force_qz);
67 bool calc_rev =
true,
bool calc_lev =
true,
bool force_qz =
false)
68 : lambda (), v (),
w ()
70 info = init (a, b, calc_rev, calc_lev, force_qz);
74 bool calc_lev =
true,
bool balance =
true)
75 : lambda (), v (),
w ()
77 init (a, calc_rev, calc_lev, balance);
81 bool calc_rev =
true,
bool calc_lev =
true,
bool balance =
true)
82 : lambda (), v (),
w ()
84 info = init (a, calc_rev, calc_lev, balance);
88 bool calc_rev =
true,
bool calc_lev =
true,
bool force_qz =
false)
89 : lambda (), v (),
w ()
91 init (a, b, calc_rev, calc_lev, force_qz);
96 bool force_qz =
false)
97 : lambda (), v (),
w ()
99 info = init (a, b, calc_rev, calc_lev, force_qz);
102 EIG (
const EIG&
a) : lambda (a.lambda), v (a.v),
w (a.
w) { }
133 bool calc_rev,
bool calc_lev,
bool force_qz);
136 bool calc_lev,
bool balance);
139 bool calc_rev,
bool calc_lev,
bool force_qz);
145 bool calc_rev,
bool calc_lev);
148 bool calc_rev,
bool calc_lev);
152 bool calc_rev,
bool calc_lev);
EIG(const ComplexMatrix &a, const ComplexMatrix &b, octave_idx_type &info, bool calc_rev=true, bool calc_lev=true, bool force_qz=false)
ComplexMatrix left_eigenvectors(void) const
EIG(const Matrix &a, bool calc_rev=true, bool calc_lev=true, bool balance=true)
ComplexColumnVector eigenvalues(void) const
calling an anonymous function involves an overhead quite comparable to the overhead of an m file function Passing a handle to a built in function is because the interpreter is not involved in the internal loop For a
std::complex< double > w(std::complex< double > z, double relerr=0)
EIG(const ComplexMatrix &a, bool calc_rev=true, bool calc_lev=true, bool balance=true)
ComplexNDArray & operator=(const ComplexNDArray &a)
ComplexColumnVector lambda
EIG(const ComplexMatrix &a, const ComplexMatrix &b, 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)
template OCTAVE_API std::ostream & operator<<(std::ostream &, const Array< bool > &)
ComplexMatrix right_eigenvectors(void) const
EIG(const Matrix &a, octave_idx_type &info, 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)