Logo Search packages:      
Sourcecode: gretl version File versions  Download package

Classes | Typedefs | Functions | Variables

SFMT.c File Reference

SIMD oriented Fast Mersenne Twister(SFMT) More...

#include <string.h>
#include <assert.h>
#include "SFMT.h"
#include "SFMT-params.h"
Include dependency graph for SFMT.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  W128_T


typedef struct W128_T w128_t


static void do_recursion (w128_t *r, w128_t *a, w128_t *b, w128_t *c, w128_t *d)
void fill_array32 (uint32_t *array, int size)
void fill_array64 (uint64_t *array, int size)
static uint32_t func1 (uint32_t x)
static uint32_t func2 (uint32_t x)
uint32_t gen_rand32 (void)
uint64_t gen_rand64 (void)
static void gen_rand_all (void)
static void gen_rand_array (w128_t *array, int size)
const char * get_idstring (void)
int get_min_array_size32 (void)
int get_min_array_size64 (void)
static int idxof (int i)
void init_by_array (uint32_t *init_key, int key_length)
void init_gen_rand (uint32_t seed)
static void lshift128 (w128_t *out, w128_t const *in, int shift)
static void period_certification (void)
static void rshift128 (w128_t *out, w128_t const *in, int shift)


static int idx
static int initialized = 0
static uint32_t parity [4] = {PARITY1, PARITY2, PARITY3, PARITY4}
static uint32_t * psfmt32 = &sfmt[0].u[0]
static uint64_t * psfmt64 = (uint64_t *)&sfmt[0].u[0]
static w128_t sfmt [N]

Detailed Description

SIMD oriented Fast Mersenne Twister(SFMT)

Mutsuo Saito (Hiroshima University)
Makoto Matsumoto (Hiroshima University)

Copyright (C) 2006,2007 Mutsuo Saito, Makoto Matsumoto and Hiroshima University. All rights reserved.

The new BSD License is applied to this software, see LICENSE.txt

Definition in file SFMT.c.

Generated by  Doxygen 1.6.0   Back to index