Mercurial > hg > octave-max
comparison liboctave/fEIG.h @ 11498:367bfee35ba0
data member initialization fixes
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 13 Jan 2011 02:37:45 -0500 |
parents | cbc402e64d83 |
children | fd0a3ac60b0e |
comparison
equal
deleted
inserted
replaced
11497:7bddd70bc838 | 11498:367bfee35ba0 |
---|---|
41 | 41 |
42 FloatEIG (void) | 42 FloatEIG (void) |
43 : lambda (), v () { } | 43 : lambda (), v () { } |
44 | 44 |
45 FloatEIG (const FloatMatrix& a, bool calc_eigenvectors = true) | 45 FloatEIG (const FloatMatrix& a, bool calc_eigenvectors = true) |
46 { init (a, calc_eigenvectors); } | 46 : lambda (), v () |
47 { | |
48 init (a, calc_eigenvectors); | |
49 } | |
47 | 50 |
48 FloatEIG (const FloatMatrix& a, octave_idx_type& info, bool calc_eigenvectors = true) | 51 FloatEIG (const FloatMatrix& a, octave_idx_type& info, |
49 { info = init (a, calc_eigenvectors); } | 52 bool calc_eigenvectors = true) |
53 : lambda (), v () | |
54 { | |
55 info = init (a, calc_eigenvectors); | |
56 } | |
50 | 57 |
51 FloatEIG (const FloatMatrix& a, const FloatMatrix& b, bool calc_eigenvectors = true) | 58 FloatEIG (const FloatMatrix& a, const FloatMatrix& b, |
52 { init (a, b, calc_eigenvectors); } | 59 bool calc_eigenvectors = true) |
60 : lambda (), v () | |
61 { | |
62 init (a, b, calc_eigenvectors); | |
63 } | |
53 | 64 |
54 FloatEIG (const FloatMatrix& a, const FloatMatrix& b, octave_idx_type& info, bool calc_eigenvectors = true) | 65 FloatEIG (const FloatMatrix& a, const FloatMatrix& b, octave_idx_type& info, |
55 { info = init (a, b, calc_eigenvectors); } | 66 bool calc_eigenvectors = true) |
67 : lambda (), v () | |
68 { | |
69 info = init (a, b, calc_eigenvectors); | |
70 } | |
56 | 71 |
57 FloatEIG (const FloatComplexMatrix& a, bool calc_eigenvectors = true) | 72 FloatEIG (const FloatComplexMatrix& a, bool calc_eigenvectors = true) |
58 { init (a, calc_eigenvectors); } | 73 : lambda (), v () |
74 { | |
75 init (a, calc_eigenvectors); | |
76 } | |
59 | 77 |
60 FloatEIG (const FloatComplexMatrix& a, octave_idx_type& info, bool calc_eigenvectors = true) | 78 FloatEIG (const FloatComplexMatrix& a, octave_idx_type& info, |
61 { info = init (a, calc_eigenvectors); } | 79 bool calc_eigenvectors = true) |
80 : lambda (), v () | |
81 { | |
82 info = init (a, calc_eigenvectors); | |
83 } | |
62 | 84 |
63 FloatEIG (const FloatComplexMatrix& a, const FloatComplexMatrix& b, bool calc_eigenvectors = true) | 85 FloatEIG (const FloatComplexMatrix& a, const FloatComplexMatrix& b, |
64 { init (a, b, calc_eigenvectors); } | 86 bool calc_eigenvectors = true) |
87 : lambda (), v () | |
88 { | |
89 init (a, b, calc_eigenvectors); | |
90 } | |
65 | 91 |
66 FloatEIG (const FloatComplexMatrix& a, const FloatComplexMatrix& b, octave_idx_type& info, bool calc_eigenvectors = true) | 92 FloatEIG (const FloatComplexMatrix& a, const FloatComplexMatrix& b, |
67 { info = init (a, b, calc_eigenvectors); } | 93 octave_idx_type& info, bool calc_eigenvectors = true) |
94 : lambda (), v () | |
95 { | |
96 info = init (a, b, calc_eigenvectors); | |
97 } | |
68 | 98 |
69 FloatEIG (const FloatEIG& a) | 99 FloatEIG (const FloatEIG& a) : lambda (a.lambda), v (a.v) { } |
70 : lambda (a.lambda), v (a.v) { } | |
71 | 100 |
72 FloatEIG& operator = (const FloatEIG& a) | 101 FloatEIG& operator = (const FloatEIG& a) |
73 { | 102 { |
74 if (this != &a) | 103 if (this != &a) |
75 { | 104 { |