Mercurial > hg > octave-lyh
comparison liboctave/floatSVD.h @ 11586:12df7854fa7c
strip trailing whitespace from source files
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 20 Jan 2011 17:24:59 -0500 |
parents | fd0a3ac60b0e |
children | 72c96de7a403 |
comparison
equal
deleted
inserted
replaced
11585:1473d0cf86d2 | 11586:12df7854fa7c |
---|---|
35 { | 35 { |
36 public: | 36 public: |
37 | 37 |
38 FloatSVD (void) : type_computed (), sigma (), left_sm (), right_sm () { } | 38 FloatSVD (void) : type_computed (), sigma (), left_sm (), right_sm () { } |
39 | 39 |
40 FloatSVD (const FloatMatrix& a, | 40 FloatSVD (const FloatMatrix& a, |
41 SVD::type svd_type = SVD::std, SVD::driver svd_driver = SVD::GESVD) | 41 SVD::type svd_type = SVD::std, SVD::driver svd_driver = SVD::GESVD) |
42 : type_computed (), sigma (), left_sm (), right_sm () | 42 : type_computed (), sigma (), left_sm (), right_sm () |
43 { | 43 { |
44 init (a, svd_type, svd_driver); | 44 init (a, svd_type, svd_driver); |
45 } | 45 } |
46 | 46 |
47 FloatSVD (const FloatMatrix& a, octave_idx_type& info, | 47 FloatSVD (const FloatMatrix& a, octave_idx_type& info, |
48 SVD::type svd_type = SVD::std, | 48 SVD::type svd_type = SVD::std, |
49 SVD::driver svd_driver = SVD::GESVD) | 49 SVD::driver svd_driver = SVD::GESVD) |
50 : type_computed (), sigma (), left_sm (), right_sm () | 50 : type_computed (), sigma (), left_sm (), right_sm () |
51 { | 51 { |
52 info = init (a, svd_type, svd_driver); | 52 info = init (a, svd_type, svd_driver); |
53 } | 53 } |
54 | 54 |
86 | 86 |
87 FloatDiagMatrix sigma; | 87 FloatDiagMatrix sigma; |
88 FloatMatrix left_sm; | 88 FloatMatrix left_sm; |
89 FloatMatrix right_sm; | 89 FloatMatrix right_sm; |
90 | 90 |
91 octave_idx_type init (const FloatMatrix& a, | 91 octave_idx_type init (const FloatMatrix& a, |
92 SVD::type svd_type = SVD::std, | 92 SVD::type svd_type = SVD::std, |
93 SVD::driver svd_driver = SVD::GESVD); | 93 SVD::driver svd_driver = SVD::GESVD); |
94 }; | 94 }; |
95 | 95 |
96 #endif | 96 #endif |