BeBOP Optimized Sparse Kernel Interface Library
1.0.1h
|
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 */