rand_util.h

Go to the documentation of this file.
00001 
00006 #if !defined(INC_UTIL_RAND_UTIL_H)
00007 
00008 #define INC_UTIL_RAND_UTIL_H
00009 
00010 #include <oski/common.h>
00011 #include <oski/mangle.h>
00012 
00013 #if defined(DO_NAME_MANGLING)
00014 
00016 #define rand_GenIndex MANGLE_(rand_GenIndex)
00017 #define rand_GenValue MANGLE_(rand_GenValue)
00018 #define rand_GenValueReal MANGLE_(rand_GenValueReal)
00019 #define rand_SortIndices MANGLE_(rand_SortIndices)
00020 #define rand_PermuteIndices MANGLE_(rand_PermuteIndices)
00021 #define rand_PermuteIndValPairs MANGLE_(rand_PermuteIndValPairs)
00022 
00023 #endif
00024 
00026 oski_index_t rand_GenIndex (oski_index_t a, oski_index_t b);
00027 
00032 oski_value_t rand_GenValue (double a, double b);
00033 
00039 oski_value_t rand_GenValueReal (double a, double b);
00040 
00042 void rand_PermuteIndices (oski_index_t * ind, oski_index_t len);
00043 
00046 void rand_PermuteIndValPairs (oski_index_t * ind, oski_value_t * val,
00047                   oski_index_t len);
00048 
00049 #endif
00050 
00051 /* eof */

Generated on Wed Sep 19 16:41:18 2007 for BeBOP Optimized Sparse Kernel Interface Library by  doxygen 1.4.6