Some Fortran codes.
A module to compute SHA-3 digests (224, 256, 384 and 512 bits). Not super fast, since Fortran is not the best tool for this kind of things, but it can be done. An example of the use of the transfer intrinsic. [SHA3.zip]
A module to sort vectors and 2D arrays (list of vectors) of integer, real and real(8) (double precision) types. Either sorts the data in-place, or returns an index vector that sorts the array. [sortmod.zip]
Double precision random numbers
A module to generate pseudo-random double precision numbers (as well as integers). Implements the ran_array function by D. E. Knuth. [knuth.f90]
top | home