comparison liboctave/oct-spparms.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 7dd7cccf0757
comparison
equal deleted inserted replaced
11585:1473d0cf86d2 11586:12df7854fa7c
41 { 41 {
42 protected: 42 protected:
43 43
44 octave_sparse_params (void) 44 octave_sparse_params (void)
45 : params (OCTAVE_SPARSE_CONTROLS_SIZE), 45 : params (OCTAVE_SPARSE_CONTROLS_SIZE),
46 keys (OCTAVE_SPARSE_CONTROLS_SIZE) 46 keys (OCTAVE_SPARSE_CONTROLS_SIZE)
47 { 47 {
48 init_keys (); 48 init_keys ();
49 do_defaults (); 49 do_defaults ();
50 } 50 }
51 51
59 if (&a != this) 59 if (&a != this)
60 { 60 {
61 params = a.params; 61 params = a.params;
62 keys = a.keys; 62 keys = a.keys;
63 } 63 }
64 64
65 return *this; 65 return *this;
66 } 66 }
67 67
68 ~octave_sparse_params (void) { } 68 ~octave_sparse_params (void) { }
69 69
70 static bool instance_ok (void); 70 static bool instance_ok (void);
71 71
72 static void defaults (void); 72 static void defaults (void);
73 73
74 static void tight (void); 74 static void tight (void);
75 75
76 static string_vector get_keys (void); 76 static string_vector get_keys (void);
77 77
78 static ColumnVector get_vals (void); 78 static ColumnVector get_vals (void);
79 79
80 static bool set_vals (const NDArray& vals); 80 static bool set_vals (const NDArray& vals);
96 static octave_sparse_params *instance; 96 static octave_sparse_params *instance;
97 97
98 void do_defaults (void); 98 void do_defaults (void);
99 99
100 void do_tight (void); 100 void do_tight (void);
101 101
102 string_vector do_get_keys (void) const { return keys; } 102 string_vector do_get_keys (void) const { return keys; }
103 103
104 ColumnVector do_get_vals (void) const { return params; } 104 ColumnVector do_get_vals (void) const { return params; }
105 105
106 bool do_set_vals (const NDArray& vals); 106 bool do_set_vals (const NDArray& vals);
110 double do_get_key (const std::string& key); 110 double do_get_key (const std::string& key);
111 111
112 double do_get_bandden (void); 112 double do_get_bandden (void);
113 113
114 void do_print_info (std::ostream& os, const std::string& prefix) const; 114 void do_print_info (std::ostream& os, const std::string& prefix) const;
115 115
116 void init_keys (void); 116 void init_keys (void);
117 }; 117 };
118 118
119 #endif 119 #endif