Mercurial > hg > octave-nkf
comparison liboctave/dbleSCHUR.h @ 3504:5eef8a2294bd
[project @ 2000-02-01 10:06:51 by jwe]
author | jwe |
---|---|
date | Tue, 01 Feb 2000 10:07:26 +0000 |
parents | d14c483b3c12 |
children | 6e86256e9c54 |
comparison
equal
deleted
inserted
replaced
3503:d14c483b3c12 | 3504:5eef8a2294bd |
---|---|
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 string& ord) | 43 SCHUR (const Matrix& a, const std::string& ord) |
44 : schur_mat (), unitary_mat () | 44 : schur_mat (), unitary_mat () |
45 { | 45 { |
46 init (a, ord); | 46 init (a, ord); |
47 } | 47 } |
48 | 48 |
49 SCHUR (const Matrix& a, const string& ord, int& info) | 49 SCHUR (const Matrix& a, const std::string& ord, int& info) |
50 : schur_mat (), unitary_mat () | 50 : schur_mat (), unitary_mat () |
51 { | 51 { |
52 info = init (a, ord); | 52 info = init (a, ord); |
53 } | 53 } |
54 | 54 |
69 | 69 |
70 Matrix schur_matrix (void) const { return schur_mat; } | 70 Matrix schur_matrix (void) const { return schur_mat; } |
71 | 71 |
72 Matrix unitary_matrix (void) const { return unitary_mat; } | 72 Matrix unitary_matrix (void) const { return unitary_mat; } |
73 | 73 |
74 friend ostream& operator << (ostream& os, const SCHUR& a); | 74 friend std::ostream& operator << (std::ostream& os, const SCHUR& a); |
75 | 75 |
76 typedef int (*select_function) (const double&, const double&); | 76 typedef int (*select_function) (const double&, const double&); |
77 | 77 |
78 private: | 78 private: |
79 | 79 |
80 Matrix schur_mat; | 80 Matrix schur_mat; |
81 Matrix unitary_mat; | 81 Matrix unitary_mat; |
82 | 82 |
83 select_function selector; | 83 select_function selector; |
84 | 84 |
85 int init (const Matrix& a, const string& ord); | 85 int init (const Matrix& a, const std::string& ord); |
86 }; | 86 }; |
87 | 87 |
88 #endif | 88 #endif |
89 | 89 |
90 /* | 90 /* |