random.h
Go to the documentation of this file.00001 00006 /* AUTORIGHTS 00007 Copyright 2007 (c) Andrea Vedaldi and Brian Fulkerson 00008 00009 This file is part of VLFeat, available in the terms of the GNU 00010 General Public License version 2. 00011 */ 00012 00013 #ifndef VL_RANDOM_H 00014 #define VL_RANDOM_H 00015 00016 #include "generic.h" 00017 00021 VL_EXPORT void vl_rand_set_state (vl_uint32 const state [625]) ; 00022 VL_EXPORT void vl_rand_get_state (vl_uint32 *state) ; 00023 VL_EXPORT void vl_rand_seed (vl_uint32 s) ; 00024 VL_EXPORT void vl_rand_seed_by_array (vl_uint32 const init_key [], int key_length) ; 00030 VL_EXPORT vl_uint32 vl_rand_uint32 () ; 00031 VL_EXPORT vl_int32 vl_rand_int31 () ; 00032 VL_EXPORT double vl_rand_real1 () ; 00033 VL_EXPORT double vl_rand_real2 () ; 00034 VL_EXPORT double vl_rand_real3 () ; 00035 VL_EXPORT double vl_rand_res53 () ; 00038 /* VL_RANDOM_H */ 00039 #endif