experimental/utility/LAGraph_Random.c
int LAGraph_Random_Next     // random int64 vector of seeds
(
    // input/output
    GrB_Vector Seed,
    char *msg
)
{
    // check inputs
    LG_CLEAR_MSG ;
    if (Seed == NULL) return (-1) ;
    // Seed = next (Seed)
    GrB_TRY (GrB_Vector_apply (Seed, NULL, NULL, LG_rand_next_op, Seed, NULL)) ;
    return (0) ;
}
//------------------------------------------------------------------------------
// LAGraph_Random_Next: return next vector of random seeds
//------------------------------------------------------------------------------
return next vector of random seeds
return next vector of random seeds
int LAGraph_Random_Next     
(
    GrB_Vector Seed,
    char *msg
)
{
    LG_CLEAR_MSG ;
    if (Seed == NULL) return (-1) ;
    GrB_TRY (GrB_Vector_apply (Seed, NULL, NULL, LG_rand_next_op, Seed, NULL)) ;
    return (0) ;
}
int LAGraph_Random_Next ( GrB_Vector Seed , char * msg ) { LG_CLEAR_MSG ; if ( Seed == NULL ) return ( -1 ) ; GrB_TRY ( GrB_Vector_apply ( Seed , NULL , NULL , LG_rand_next_op , Seed , NULL ) ) ; return ( 0 ) ; }
LAGraph_Random_Next: return next vector of random seeds
LAGraph_Random_Next : return next vector of random seeds
// random int64 vector of seeds // input/output // check inputs // Seed = next (Seed)