Mercurial > octave-nkf
comparison liboctave/base-aepbal.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 |
---|---|
34 | 34 |
35 base_aepbal (void) : balanced_mat (), scale (), ilo (), ihi (), job () { } | 35 base_aepbal (void) : balanced_mat (), scale (), ilo (), ihi (), job () { } |
36 | 36 |
37 public: | 37 public: |
38 | 38 |
39 base_aepbal (const base_aepbal& a) | 39 base_aepbal (const base_aepbal& a) |
40 : balanced_mat (a.balanced_mat), scale (a.scale), | 40 : balanced_mat (a.balanced_mat), scale (a.scale), |
41 ilo(a.ilo), ihi(a.ihi), job(a.job) | 41 ilo(a.ilo), ihi(a.ihi), job(a.job) |
42 { | 42 { |
43 } | 43 } |
44 | 44 |
45 base_aepbal& operator = (const base_aepbal& a) | 45 base_aepbal& operator = (const base_aepbal& a) |
46 { | 46 { |
47 balanced_mat = a.balanced_mat; | 47 balanced_mat = a.balanced_mat; |
70 for (octave_idx_type i = 0; i < ilo-1; i++) | 70 for (octave_idx_type i = 0; i < ilo-1; i++) |
71 { | 71 { |
72 octave_idx_type j = scale(i) - 1; | 72 octave_idx_type j = scale(i) - 1; |
73 std::swap (pv(i), pv(j)); | 73 std::swap (pv(i), pv(j)); |
74 } | 74 } |
75 | 75 |
76 return pv; | 76 return pv; |
77 } | 77 } |
78 | 78 |
79 VectorT scaling_vector (void) const | 79 VectorT scaling_vector (void) const |
80 { | 80 { |