Mercurial > octave-nkf
comparison src/OPERATORS/op-fcs-fcs.cc @ 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 |
---|---|
130 | 130 |
131 DEFBINOP (el_and, float_complex, float_complex) | 131 DEFBINOP (el_and, float_complex, float_complex) |
132 { | 132 { |
133 CAST_BINOP_ARGS (const octave_float_complex&, const octave_float_complex&); | 133 CAST_BINOP_ARGS (const octave_float_complex&, const octave_float_complex&); |
134 | 134 |
135 return (v1.float_complex_value () != static_cast<float>(0.0) && | 135 return (v1.float_complex_value () != static_cast<float>(0.0) && |
136 v2.float_complex_value () != static_cast<float>(0.0)); | 136 v2.float_complex_value () != static_cast<float>(0.0)); |
137 } | 137 } |
138 | 138 |
139 DEFBINOP (el_or, float_complex, float_complex) | 139 DEFBINOP (el_or, float_complex, float_complex) |
140 { | 140 { |
141 CAST_BINOP_ARGS (const octave_float_complex&, const octave_float_complex&); | 141 CAST_BINOP_ARGS (const octave_float_complex&, const octave_float_complex&); |
142 | 142 |
143 return (v1.float_complex_value () != static_cast<float>(0.0) || | 143 return (v1.float_complex_value () != static_cast<float>(0.0) || |
144 v2.float_complex_value () != static_cast<float>(0.0)); | 144 v2.float_complex_value () != static_cast<float>(0.0)); |
145 } | 145 } |
146 | 146 |
147 DEFNDCATOP_FN (fcs_fcs, float_complex, float_complex, float_complex_array, | 147 DEFNDCATOP_FN (fcs_fcs, float_complex, float_complex, float_complex_array, |
148 float_complex_array, concat) | 148 float_complex_array, concat) |
149 | 149 |
150 DEFNDCATOP_FN (cs_fcs, complex, float_complex, float_complex_array, | 150 DEFNDCATOP_FN (cs_fcs, complex, float_complex, float_complex_array, |
151 float_complex_array, concat) | 151 float_complex_array, concat) |
152 | 152 |
153 DEFNDCATOP_FN (fcs_cs, float_complex, complex, float_complex_array, | 153 DEFNDCATOP_FN (fcs_cs, float_complex, complex, float_complex_array, |
154 float_complex_array, concat) | 154 float_complex_array, concat) |
155 | 155 |
156 CONVDECL (float_complex_to_complex) | 156 CONVDECL (float_complex_to_complex) |
157 { | 157 { |
158 CAST_CONV_ARG (const octave_float_complex&); | 158 CAST_CONV_ARG (const octave_float_complex&); |
201 | 201 |
202 INSTALL_ASSIGNCONV (octave_float_complex, octave_null_matrix, octave_float_complex_matrix); | 202 INSTALL_ASSIGNCONV (octave_float_complex, octave_null_matrix, octave_float_complex_matrix); |
203 INSTALL_ASSIGNCONV (octave_float_complex, octave_null_str, octave_float_complex_matrix); | 203 INSTALL_ASSIGNCONV (octave_float_complex, octave_null_str, octave_float_complex_matrix); |
204 INSTALL_ASSIGNCONV (octave_float_complex, octave_null_sq_str, octave_float_complex_matrix); | 204 INSTALL_ASSIGNCONV (octave_float_complex, octave_null_sq_str, octave_float_complex_matrix); |
205 | 205 |
206 INSTALL_CONVOP (octave_float_complex, octave_complex_matrix, | 206 INSTALL_CONVOP (octave_float_complex, octave_complex_matrix, |
207 float_complex_to_complex); | 207 float_complex_to_complex); |
208 } | 208 } |