File: README

package info (click to toggle)
labplot 2.12.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 78,500 kB
  • sloc: cpp: 241,048; ansic: 6,324; python: 915; xml: 400; yacc: 237; sh: 221; awk: 35; makefile: 11
file content (12 lines) | stat: -rw-r--r-- 494 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
c++ code:

binary_motion.cpp and binary_motion_binary.cpp simulate Brownian motion and write the output to a file in ASCII or in the binary format, respectively.
To change the number of particle paths as well as the number of iterations adjust the corresponding parameters in the code.
To compile, use
* g++ brownian_motion.cpp -lgsl -lgslcblas -lm -o brownian_motion
* g++ brownian_motion_binary.cpp -lgsl -lgslcblas -lm -o brownian_motion_binary



python scripts:
TODO: document the scripts