23 #if ! defined (octave_EIG_h) 24 #define octave_EIG_h 1 26 #include "octave-config.h" 44 EIG (
void) : lambda (), v (),
w () { }
47 bool calc_lev =
true,
bool balance =
true)
48 : lambda (), v (),
w ()
50 init (
a, calc_rev, calc_lev, balance);
54 bool calc_rev =
true,
bool calc_lev =
true,
bool balance =
true)
55 : lambda (), v (),
w ()
57 info = init (
a, calc_rev, calc_lev, balance);
61 bool calc_rev =
true,
bool calc_lev =
true,
bool force_qz =
false)
62 : lambda (), v (),
w ()
64 init (
a,
b, calc_rev, calc_lev, force_qz);
68 bool calc_rev =
true,
bool calc_lev =
true,
bool force_qz =
false)
69 : lambda (), v (),
w ()
71 info = init (
a,
b, calc_rev, calc_lev, force_qz);
75 bool calc_lev =
true,
bool balance =
true)
76 : lambda (), v (),
w ()
78 init (
a, calc_rev, calc_lev, balance);
82 bool calc_rev =
true,
bool calc_lev =
true,
bool balance =
true)
83 : lambda (), v (),
w ()
85 info = init (
a, calc_rev, calc_lev, balance);
89 bool calc_rev =
true,
bool calc_lev =
true,
bool force_qz =
false)
90 : lambda (), v (),
w ()
92 init (
a,
b, calc_rev, calc_lev, force_qz);
97 bool force_qz =
false)
98 : lambda (), v (),
w ()
100 info = init (
a,
b, calc_rev, calc_lev, force_qz);
116 ~
EIG (
void) =
default;
134 bool calc_rev,
bool calc_lev,
bool force_qz);
137 bool calc_lev,
bool balance);
140 bool calc_rev,
bool calc_lev,
bool force_qz);
146 bool calc_rev,
bool calc_lev);
149 bool calc_rev,
bool calc_lev);
153 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)
EIG(const Matrix &a, bool calc_rev=true, bool calc_lev=true, bool balance=true)
ComplexMatrix right_eigenvectors(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 > &)
ComplexColumnVector eigenvalues(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)
ComplexMatrix left_eigenvectors(void) const