comparison liboctave/dbleSCHUR.h @ 5008:c2bb27ada496

[project @ 2004-09-17 14:45:39 by jwe]
author jwe
date Fri, 17 Sep 2004 14:45:39 +0000
parents 5719210fff4c
children e35b034d3523
comparison
equal deleted inserted replaced
5007:f8c27dad3643 5008:c2bb27ada496
38 public: 38 public:
39 39
40 SCHUR (void) 40 SCHUR (void)
41 : schur_mat (), unitary_mat () { } 41 : schur_mat (), unitary_mat () { }
42 42
43 SCHUR (const Matrix& a, const std::string& ord) 43 SCHUR (const Matrix& a, const std::string& ord, bool calc_unitary = true)
44 : schur_mat (), unitary_mat () 44 : schur_mat (), unitary_mat () { init (a, ord, calc_unitary); }
45 {
46 init (a, ord);
47 }
48 45
49 SCHUR (const Matrix& a, const std::string& ord, int& info) 46 SCHUR (const Matrix& a, const std::string& ord, int& info,
50 : schur_mat (), unitary_mat () 47 bool calc_unitary = true)
51 { 48 : schur_mat (), unitary_mat () { info = init (a, ord, calc_unitary); }
52 info = init (a, ord);
53 }
54 49
55 SCHUR (const SCHUR& a) 50 SCHUR (const SCHUR& a)
56 : schur_mat (a.schur_mat), unitary_mat (a.unitary_mat) { } 51 : schur_mat (a.schur_mat), unitary_mat (a.unitary_mat) { }
57 52
58 SCHUR& operator = (const SCHUR& a) 53 SCHUR& operator = (const SCHUR& a)
80 Matrix schur_mat; 75 Matrix schur_mat;
81 Matrix unitary_mat; 76 Matrix unitary_mat;
82 77
83 select_function selector; 78 select_function selector;
84 79
85 int init (const Matrix& a, const std::string& ord); 80 int init (const Matrix& a, const std::string& ord, bool calc_unitary);
86 }; 81 };
87 82
88 #endif 83 #endif
89 84
90 /* 85 /*