Skip to content

jcorvino/jburkardt-conversions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

jburkardt-conversions

Conversions of various code repositories (https://people.sc.fsu.edu/~jburkardt/) from C++/MATLAB/FORTRAN to Python

NOTE: THESE ARE INITIAL IDEAS AND SUBJECT TO CHANGE. NO WORK HAS BEEN COMPLETED YET.

Initial Project Ideas:

BRENT was originally a FORTRAN77 library which contains algorithms for finding zeros or minima of a scalar function of a scalar variable, by Richard Brent (original source). The methods do not require the use of derivatives, and do not assume that the function is differentiable.

I converted BRENT from FORTRAN 77 to Python.

BROWNIAN_MOTION_SIMULATION was originally a C++ library which simulates Brownian motion in an M-dimensional region, creating graphics files for processing by gnuplot (original source). Brownian motion is a physical phenomenon which can be observed, for instance, when a small particle is immersed in a liquid. The particle will move as though under the influence of random forces of varying direction and magnitude. There is a mathematical idealization of this motion, and from there a computational discretization that allows us to simulate the successive positions of a particle undergoing Brownian motion.

I converted BROWNIAN_MOTION_SIMULATION from C++ to Python.

ZIGGURAT was originally a MATLAB library which rapidly generates random variates from the uniform, normal or exponential distributions, by Marsaglia and Tsang (original source). The uniform numbers are generated directly. The ziggurat method is used to compute the normal and exponential values. In the reference, the underlying generators are implemented "inline", invoking a function call only in exceptional cases. This results in very fast execution. In this implementation, the advantages of inline code are not used. All the routines and inline functions are isolated in a separate file, so that a user invokes them through the familiar library interface.

I converted ZIGGURAT from MATLAB to Python

About

Conversions of various code repositories (https://people.sc.fsu.edu/~jburkardt/) from C++/MATLAB/FORTRAN to Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published