|
Last change
on this file since 3795 was 3685, checked in by cmv, 16 years ago |
- changement du code C-Fortran like addressing
par du code C++ purement C-like addressing (NR C++ version)
cmv, 27/11/2009
|
|
File size:
368 bytes
|
| Line | |
|---|
| 1 | #ifndef NBTRIXX_H_SEEN
|
|---|
| 2 | #define NBTRIXX_H_SEEN
|
|---|
| 3 |
|
|---|
| 4 | #include "machdefs.h"
|
|---|
| 5 |
|
|---|
| 6 | namespace SOPHYA {
|
|---|
| 7 |
|
|---|
| 8 | template<class T>
|
|---|
| 9 | inline void _NR_SWAP(T &a, T &b) {T dum=a; a=b; b=dum;}
|
|---|
| 10 |
|
|---|
| 11 | template <class T>
|
|---|
| 12 | void TabSort(uint_4 n, T *arr);
|
|---|
| 13 |
|
|---|
| 14 | template <class T, class U>
|
|---|
| 15 | void TabSort2(uint_4 n, T *arr, U *brr);
|
|---|
| 16 |
|
|---|
| 17 | template <class T>
|
|---|
| 18 | void TabSortInd(uint_4 n, T *arr, uint_4 *indx);
|
|---|
| 19 |
|
|---|
| 20 | }
|
|---|
| 21 |
|
|---|
| 22 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.