Mercurial > hg > octave-nkf
comparison liboctave/Sparse-perm-op-defs.h @ 15018:3d8ace26c5b4
maint: Use Octave coding conventions for cuddled parentheses in liboctave/.
* Array-util.cc, Array.cc, Array.h, CMatrix.cc, CNDArray.cc, CSparse.cc,
CmplxQR.cc, CollocWt.cc, DASPK.cc, DASRT.cc, DASSL.cc, EIG.cc, LSODE.cc,
MSparse.cc, MatrixType.cc, Sparse-op-defs.h, Sparse-perm-op-defs.h, Sparse.cc,
Sparse.h, SparseCmplxCHOL.cc, SparseCmplxLU.cc, SparseCmplxQR.cc, SparseQR.cc,
SparsedbleCHOL.cc, SparsedbleLU.cc, boolSparse.cc, cmd-hist.cc, dDiagMatrix.cc,
dMatrix.cc, dNDArray.cc, dSparse.cc, data-conv.cc, dbleQR.cc, dbleSVD.cc,
dim-vector.cc, eigs-base.cc, f2c-main.c, fCMatrix.cc, fCNDArray.cc,
fCmplxQR.cc, fEIG.cc, fMatrix.cc, fNDArray.cc, floatQR.cc, floatSVD.cc,
idx-vector.cc, kpse.cc, lo-specfun.cc, mx-inlines.cc, mx-op-defs.h,
oct-alloc.cc, oct-binmap.h, oct-fftw.cc, oct-group.h, oct-inttypes.cc,
oct-inttypes.h, oct-locbuf.cc, oct-md5.cc, oct-rand.cc, oct-sort.cc,
oct-syscalls.cc, randgamma.c, randmtzig.c, randpoisson.c, sparse-base-chol.cc,
sparse-base-lu.cc, sparse-dmsolve.cc, str-vec.cc, str-vec.h, tempnam.c,
tempname.c: Use Octave coding conventions for cuddled parentheses in liboctave/.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 26 Jul 2012 08:13:22 -0700 |
parents | 460a3c6d8bf1 |
children | e47b4e8c2714 |
comparison
equal
deleted
inserted
replaced
15017:dd4ad69e4ab9 | 15018:3d8ace26c5b4 |
---|---|
41 | 41 |
42 for (octave_idx_type j = 0; j < nc; j++) | 42 for (octave_idx_type j = 0; j < nc; j++) |
43 { | 43 { |
44 octave_quit (); | 44 octave_quit (); |
45 | 45 |
46 OCTAVE_LOCAL_BUFFER (octave_idx_type, sidx, r.xcidx(j+1) - r.xcidx(j)); | 46 OCTAVE_LOCAL_BUFFER (octave_idx_type, sidx, r.xcidx (j+1) - r.xcidx (j)); |
47 for (octave_idx_type i = r.xcidx(j), ii = 0; i < r.xcidx(j+1); i++) | 47 for (octave_idx_type i = r.xcidx (j), ii = 0; i < r.xcidx (j+1); i++) |
48 { | 48 { |
49 sidx[ii++]=i; | 49 sidx[ii++]=i; |
50 r.xridx (i) = pcol[a.ridx (i)]; | 50 r.xridx (i) = pcol[a.ridx (i)]; |
51 } | 51 } |
52 sort.sort (r.xridx () + r.xcidx(j), sidx, r.xcidx(j+1) - r.xcidx(j)); | 52 sort.sort (r.xridx () + r.xcidx (j), sidx, r.xcidx (j+1) - r.xcidx (j)); |
53 for (octave_idx_type i = r.xcidx(j), ii = 0; i < r.xcidx(j+1); i++) | 53 for (octave_idx_type i = r.xcidx (j), ii = 0; i < r.xcidx (j+1); i++) |
54 r.xdata(i) = a.data (sidx[ii++]); | 54 r.xdata (i) = a.data (sidx[ii++]); |
55 } | 55 } |
56 | 56 |
57 return r; | 57 return r; |
58 } | 58 } |
59 | 59 |