23 #if ! defined (octave_fEIG_h) 24 #define octave_fEIG_h 1 26 #include "octave-config.h" 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);
134 bool calc_rev,
bool calc_lev,
bool force_qz);
137 bool calc_lev,
bool balance);
141 bool calc_rev,
bool calc_lev,
bool force_qz);
147 bool calc_rev,
bool calc_lev);
150 bool calc_rev,
bool calc_lev);
154 bool calc_rev,
bool calc_lev);
FloatEIG(const FloatMatrix &a, bool calc_rev=true, bool calc_lev=true, bool balance=true)
FloatComplexMatrix left_eigenvectors(void) const
FloatComplexMatrix right_eigenvectors(void) const
FloatComplexNDArray & operator=(const FloatComplexNDArray &a)
FloatEIG(const FloatMatrix &a, octave_idx_type &info, bool calc_rev=true, bool calc_lev=true, bool balance=true)
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
FloatComplexColumnVector lambda
std::complex< double > w(std::complex< double > z, double relerr=0)
FloatEIG(const FloatComplexMatrix &a, bool calc_rev=true, bool calc_lev=true, bool balance=true)
FloatEIG(const FloatMatrix &a, const FloatMatrix &b, octave_idx_type &info, bool calc_rev=true, bool calc_lev=true, bool force_qz=false)
FloatEIG(const FloatMatrix &a, const FloatMatrix &b, bool calc_rev=true, bool calc_lev=true, bool force_qz=false)
FloatComplexColumnVector eigenvalues(void) const
FloatEIG(const FloatComplexMatrix &a, const FloatComplexMatrix &b, octave_idx_type &info, bool calc_rev=true, bool calc_lev=true, bool force_qz=false)
template OCTAVE_API std::ostream & operator<<(std::ostream &, const Array< bool > &)
FloatEIG(const FloatEIG &a)
FloatEIG(const FloatComplexMatrix &a, octave_idx_type &info, bool calc_rev=true, bool calc_lev=true, bool balance=true)
FloatEIG(const FloatComplexMatrix &a, const FloatComplexMatrix &b, bool calc_rev=true, bool calc_lev=true, bool force_qz=false)