Mercurial > octave-nkf
comparison src/DLD-FUNCTIONS/dmperm.cc @ 14854:5ae9f0f77635
maint: Use Octave coding conventions for coddling parenthis is DLD-FUNCTIONS directory
* __fltk_uigetfile__.cc, __glpk__.cc, __init_fltk__.cc, __magick_read__.cc,
besselj.cc, bsxfun.cc, ccolamd.cc, cellfun.cc, chol.cc, colamd.cc, daspk.cc,
dasrt.cc, dassl.cc, dmperm.cc, fft.cc, filter.cc, find.cc, gcd.cc, kron.cc,
lsode.cc, lu.cc, luinc.cc, quad.cc, quadcc.cc, rand.cc, regexp.cc, schur.cc,
str2double.cc, symbfact.cc, symrcm.cc, tril.cc, urlwrite.cc: Use Octave coding
conventions for coddling parenthis is DLD-FUNCTIONS directory.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Mon, 09 Jul 2012 13:01:49 -0700 |
parents | 460a3c6d8bf1 |
children |
comparison
equal
deleted
inserted
replaced
14853:72b8b39e12be | 14854:5ae9f0f77635 |
---|---|
46 static RowVector | 46 static RowVector |
47 put_int (octave_idx_type *p, octave_idx_type n) | 47 put_int (octave_idx_type *p, octave_idx_type n) |
48 { | 48 { |
49 RowVector ret (n); | 49 RowVector ret (n); |
50 for (octave_idx_type i = 0; i < n; i++) | 50 for (octave_idx_type i = 0; i < n; i++) |
51 ret.xelem(i) = p[i] + 1; | 51 ret.xelem (i) = p[i] + 1; |
52 return ret; | 52 return ret; |
53 } | 53 } |
54 | 54 |
55 #if HAVE_CXSPARSE | 55 #if HAVE_CXSPARSE |
56 static octave_value_list | 56 static octave_value_list |