gillespie-cpp:它很容易获得C ++中的Gillespie库,是您自己的Gillespie代码的垫脚石

时间:2021-04-05 08:42:34
【文件属性】:
文件名称:gillespie-cpp:它很容易获得C ++中的Gillespie库,是您自己的Gillespie代码的垫脚石
文件大小:76KB
文件格式:ZIP
更新时间:2021-04-05 08:42:34
C++ 一个简单的C ++ Gillespie库 有用的库很容易理解,可以在您自己的项目中使用。 该库非常简单,应该用作C ++中其他Gillespie代码的简单垫脚石。 希望是因为它完全是C ++,所以它将击败其他一些Python变体。 例子 这是React堆A -> 0的简单片段。 它在目录中。 #include #include #include using namespace gilsp; using namespace std; int main() { // Random seed srand (time(NULL)); // Make the reaction A->0 with rate 3 Rxn rxn = Rxn("rxn", 3.0, {"A"}, {}); // Init
【文件预览】:
gillespie-cpp-master
----src()
--------helpers.cpp(1KB)
--------counts_hist.cpp(6KB)
--------rxn.cpp(4KB)
--------counts.cpp(2KB)
--------tau_leaping.cpp(6KB)
--------gillespie.cpp(5KB)
----License(34KB)
----CMakeLists.txt(1KB)
----example()
--------src()
--------mathematica()
--------CMakeLists.txt(1KB)
--------data_tau_leaping()
----README.md(1KB)
----.gitignore(20B)
----include()
--------gilsp(149B)
--------gilsp_bits()

网友评论