Mercurial > hg > octave-nkf
comparison src/xdiv.cc @ 10315:57a59eae83cc
untabify src C++ source files
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 11 Feb 2010 12:41:46 -0500 |
parents | cd96d29c5efa |
children | 4d1fc073fbb7 |
comparison
equal
deleted
inserted
replaced
10314:07ebe522dac2 | 10315:57a59eae83cc |
---|---|
211 Matrix result (nr, nc); | 211 Matrix result (nr, nc); |
212 | 212 |
213 for (octave_idx_type j = 0; j < nc; j++) | 213 for (octave_idx_type j = 0; j < nc; j++) |
214 for (octave_idx_type i = 0; i < nr; i++) | 214 for (octave_idx_type i = 0; i < nr; i++) |
215 { | 215 { |
216 octave_quit (); | 216 octave_quit (); |
217 result (i, j) = a / b (i, j); | 217 result (i, j) = a / b (i, j); |
218 } | 218 } |
219 | 219 |
220 return result; | 220 return result; |
221 } | 221 } |
222 | 222 |
229 ComplexMatrix result (nr, nc); | 229 ComplexMatrix result (nr, nc); |
230 | 230 |
231 for (octave_idx_type j = 0; j < nc; j++) | 231 for (octave_idx_type j = 0; j < nc; j++) |
232 for (octave_idx_type i = 0; i < nr; i++) | 232 for (octave_idx_type i = 0; i < nr; i++) |
233 { | 233 { |
234 octave_quit (); | 234 octave_quit (); |
235 result (i, j) = a / b (i, j); | 235 result (i, j) = a / b (i, j); |
236 } | 236 } |
237 | 237 |
238 return result; | 238 return result; |
239 } | 239 } |
240 | 240 |
247 ComplexMatrix result (nr, nc); | 247 ComplexMatrix result (nr, nc); |
248 | 248 |
249 for (octave_idx_type j = 0; j < nc; j++) | 249 for (octave_idx_type j = 0; j < nc; j++) |
250 for (octave_idx_type i = 0; i < nr; i++) | 250 for (octave_idx_type i = 0; i < nr; i++) |
251 { | 251 { |
252 octave_quit (); | 252 octave_quit (); |
253 result (i, j) = a / b (i, j); | 253 result (i, j) = a / b (i, j); |
254 } | 254 } |
255 | 255 |
256 return result; | 256 return result; |
257 } | 257 } |
258 | 258 |
265 ComplexMatrix result (nr, nc); | 265 ComplexMatrix result (nr, nc); |
266 | 266 |
267 for (octave_idx_type j = 0; j < nc; j++) | 267 for (octave_idx_type j = 0; j < nc; j++) |
268 for (octave_idx_type i = 0; i < nr; i++) | 268 for (octave_idx_type i = 0; i < nr; i++) |
269 { | 269 { |
270 octave_quit (); | 270 octave_quit (); |
271 result (i, j) = a / b (i, j); | 271 result (i, j) = a / b (i, j); |
272 } | 272 } |
273 | 273 |
274 return result; | 274 return result; |
275 } | 275 } |
276 | 276 |
509 FloatMatrix result (nr, nc); | 509 FloatMatrix result (nr, nc); |
510 | 510 |
511 for (octave_idx_type j = 0; j < nc; j++) | 511 for (octave_idx_type j = 0; j < nc; j++) |
512 for (octave_idx_type i = 0; i < nr; i++) | 512 for (octave_idx_type i = 0; i < nr; i++) |
513 { | 513 { |
514 octave_quit (); | 514 octave_quit (); |
515 result (i, j) = a / b (i, j); | 515 result (i, j) = a / b (i, j); |
516 } | 516 } |
517 | 517 |
518 return result; | 518 return result; |
519 } | 519 } |
520 | 520 |
527 FloatComplexMatrix result (nr, nc); | 527 FloatComplexMatrix result (nr, nc); |
528 | 528 |
529 for (octave_idx_type j = 0; j < nc; j++) | 529 for (octave_idx_type j = 0; j < nc; j++) |
530 for (octave_idx_type i = 0; i < nr; i++) | 530 for (octave_idx_type i = 0; i < nr; i++) |
531 { | 531 { |
532 octave_quit (); | 532 octave_quit (); |
533 result (i, j) = a / b (i, j); | 533 result (i, j) = a / b (i, j); |
534 } | 534 } |
535 | 535 |
536 return result; | 536 return result; |
537 } | 537 } |
538 | 538 |
545 FloatComplexMatrix result (nr, nc); | 545 FloatComplexMatrix result (nr, nc); |
546 | 546 |
547 for (octave_idx_type j = 0; j < nc; j++) | 547 for (octave_idx_type j = 0; j < nc; j++) |
548 for (octave_idx_type i = 0; i < nr; i++) | 548 for (octave_idx_type i = 0; i < nr; i++) |
549 { | 549 { |
550 octave_quit (); | 550 octave_quit (); |
551 result (i, j) = a / b (i, j); | 551 result (i, j) = a / b (i, j); |
552 } | 552 } |
553 | 553 |
554 return result; | 554 return result; |
555 } | 555 } |
556 | 556 |
563 FloatComplexMatrix result (nr, nc); | 563 FloatComplexMatrix result (nr, nc); |
564 | 564 |
565 for (octave_idx_type j = 0; j < nc; j++) | 565 for (octave_idx_type j = 0; j < nc; j++) |
566 for (octave_idx_type i = 0; i < nr; i++) | 566 for (octave_idx_type i = 0; i < nr; i++) |
567 { | 567 { |
568 octave_quit (); | 568 octave_quit (); |
569 result (i, j) = a / b (i, j); | 569 result (i, j) = a / b (i, j); |
570 } | 570 } |
571 | 571 |
572 return result; | 572 return result; |
573 } | 573 } |
574 | 574 |