~ubuntu-branches/ubuntu/hoary/scilab/hoary

« back to all changes in this revision

Viewing changes to routines/randlib/clcg4.h

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2005-01-09 22:58:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050109225821-473xr8vhgugxxx5j
Tags: 3.0-12
changed configure.in to build scilab's own malloc.o, closes: #255869

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef H_CLCG4_H
 
2
#define H_CLCG4_H
 
3
 
 
4
#define Maxgen  100
 
5
 
 
6
typedef  enum {InitialSeed, LastSeed, NewSeed}  SeedType;
 
7
 
 
8
int set_seed_clcg4(int g, double s0, double s1, double s2, double s3);
 
9
 
 
10
void get_state_clcg4(int g, double s[4]);
 
11
 
 
12
void init_generator_clcg4(int g, SeedType Where);
 
13
 
 
14
void advance_state_clcg4(int g, int k);
 
15
 
 
16
int set_initial_seed_clcg4(double s0, double s1, double s2, double s3);
 
17
 
 
18
unsigned long clcg4(int g);
 
19
 
 
20
#endif