Mercurial > octave-nkf
comparison liboctave/floatSCHUR.h @ 11498:367bfee35ba0
data member initialization fixes
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 13 Jan 2011 02:37:45 -0500 |
parents | 23d2378512a0 |
children | fd0a3ac60b0e |
comparison
equal
deleted
inserted
replaced
11497:7bddd70bc838 | 11498:367bfee35ba0 |
---|---|
33 OCTAVE_API | 33 OCTAVE_API |
34 FloatSCHUR | 34 FloatSCHUR |
35 { | 35 { |
36 public: | 36 public: |
37 | 37 |
38 FloatSCHUR (void) | 38 FloatSCHUR (void) : schur_mat (), unitary_mat (), selector (0) { } |
39 : schur_mat (), unitary_mat () { } | |
40 | 39 |
41 FloatSCHUR (const FloatMatrix& a, const std::string& ord, bool calc_unitary = true) | 40 FloatSCHUR (const FloatMatrix& a, const std::string& ord, |
42 : schur_mat (), unitary_mat () { init (a, ord, calc_unitary); } | 41 bool calc_unitary = true) |
42 : schur_mat (), unitary_mat (), selector (0) | |
43 { | |
44 init (a, ord, calc_unitary); | |
45 } | |
43 | 46 |
44 FloatSCHUR (const FloatMatrix& a, const std::string& ord, int& info, | 47 FloatSCHUR (const FloatMatrix& a, const std::string& ord, int& info, |
45 bool calc_unitary = true) | 48 bool calc_unitary = true) |
46 : schur_mat (), unitary_mat () { info = init (a, ord, calc_unitary); } | 49 : schur_mat (), unitary_mat (), selector (0) |
50 { | |
51 info = init (a, ord, calc_unitary); | |
52 } | |
47 | 53 |
48 FloatSCHUR (const FloatSCHUR& a) | 54 FloatSCHUR (const FloatSCHUR& a) |
49 : schur_mat (a.schur_mat), unitary_mat (a.unitary_mat) { } | 55 : schur_mat (a.schur_mat), unitary_mat (a.unitary_mat), selector (0) |
56 { } | |
50 | 57 |
51 FloatSCHUR (const FloatMatrix& s, const FloatMatrix& u); | 58 FloatSCHUR (const FloatMatrix& s, const FloatMatrix& u); |
52 | 59 |
53 FloatSCHUR& operator = (const FloatSCHUR& a) | 60 FloatSCHUR& operator = (const FloatSCHUR& a) |
54 { | 61 { |