projects
/
physik
/
computational_physics.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
added runge kutta example
[physik/computational_physics.git]
/
check_rand.c
1
#include <stdio.h>
2
#include <time.h>
3
#include "general.h"
4
#include "g_plot.h"
5
6
#define STEPS 1000000
7
8
int main(int argc,char **argv) {
9
int i;
10
11
my_srand(time(NULL));
12
13
for(i=0;i<STEPS;i++)
14
printf("%f %f\n",my_nrand(),my_nrand());
15
16
return 1;
17
}