Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
BioFVM_V.1.1.2.zip | 2016-07-01 | 732.7 kB | |
readme.txt | 2016-07-01 | 1.4 kB | |
Totals: 2 Items | 734.1 kB | 0 |
BioFVM: Finite Volume Solver for Biological Problems. Version: 1.1.2 Release date: 1 March 2016 Homepage: http://BioFVM.MathCancer.org Downloads: http://BioFVM.sf.net Summary: This update fixes cross-platform compatibility bugs in the "stopwatch" functions, adds easy functions to use the C++11 Mersenne twister-based uniform probability distribution, and includes functions to compute the mean and variance of a vector of values. These functions are in BioFVM_utilities.h / BioFVM_utilities.cpp. New features: + Uniform random generator, via double uniform_random(); + Functions to seed the uniform random generator, via seed_random() (uses clock()) or seed_random(unsigned int). + Function to compute the mean of a vector<doubles> via compute_mean( vector<double>& ) + Functions to compute the variance of a vector<doubles> via compute_variance( vector<double>& , double ) or via compute_variance( vector<double>& ). The second argument is a pre-computed mean. + Updated the template project to use the runtime stopwatch and display its value at the end of the program. Bugfixes: + Fixed TIC(), TOC(), RUNTIME_TIC(), RUNTIME_TOC() to use std::chrono functions instead of clock(), so that cross-platform behavior is consistent. These functions now report wall time across platforms.