experimental/utility/old/GB_sort.h
static inline GrB_Index GB_rand (uint64_t *seed)
{
    GrB_Index i = GB_rand15 (seed) ;
    i = GB_RAND_MAX * i + GB_rand15 (seed) ;
    i = GB_RAND_MAX * i + GB_rand15 (seed) ;
    i = GB_RAND_MAX * i + GB_rand15 (seed) ;
    return (i) ;
}
// return a random GrB_Index, in range 0 to 2^60
return a random GrB_Index, in range 0 to 2^60
return a random GrB_Index in range 0 to 2^60
static inline GrB_Index GB_rand (uint64_t *seed)
{
    GrB_Index i = GB_rand15 (seed) ;
    i = GB_RAND_MAX * i + GB_rand15 (seed) ;
    i = GB_RAND_MAX * i + GB_rand15 (seed) ;
    i = GB_RAND_MAX * i + GB_rand15 (seed) ;
    return (i) ;
}
static inline GrB_Index GB_rand ( uint64_t * seed ) { GrB_Index i = GB_rand15 ( seed ) ; i = GB_RAND_MAX * i + GB_rand15 ( seed ) ; i = GB_RAND_MAX * i + GB_rand15 ( seed ) ; i = GB_RAND_MAX * i + GB_rand15 ( seed ) ; return ( i ) ; }
return a random GrB_Index, in range 0 to 2^60
return a random GrB_Index in range 0 to 2^60