Changeset 3685 in Sophya for trunk/SophyaLib/NTools/nbtrixx.h


Ignore:
Timestamp:
Nov 27, 2009, 2:54:18 PM (16 years ago)
Author:
cmv
Message:
  • changement du code C-Fortran like addressing par du code C++ purement C-like addressing (NR C++ version)

cmv, 27/11/2009

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/NTools/nbtrixx.h

    r3678 r3685  
    66namespace SOPHYA {
    77
    8 template <class T>
    9 void TabSort(uint_4 n, T *arr_c);
     8template<class T>
     9inline void _NR_SWAP(T &a, T &b) {T dum=a; a=b; b=dum;}
    1010
    1111template <class T>
    12 void TabSort2(uint_4 n, T *arr_c, T *brr_c);
     12void TabSort(uint_4 n, T *arr);
     13
     14  template <class T, class U>
     15void TabSort2(uint_4 n, T *arr, U *brr);
    1316
    1417template <class T>
    15 void TabSortInd(uint_4 n, T *arr_c, uint_4 *indx_c);
     18void TabSortInd(uint_4 n, T *arr, uint_4 *indx);
    1619
    1720}
Note: See TracChangeset for help on using the changeset viewer.