Tag Archives: Boost C++ Libraries

Benchmark ODE solver: GSL V/s Boost Odeint library

For our neural simulator, MOOSE, we use GNU Scientific Library (GSL) for random number generation, for solving system of non-linear equations, and for solving ODE system. Recently I checked the performance of GSL ode solver V/s Boost ode solver; both … Continue reading

Posted in Biological systems, Numerical computation, Uncategorized | Tagged , , , , | Leave a comment

Multi-dimentional root fiding using Newton-Raphson method

In short, It does the same thing as GNU-gsl `gnewton` solver for finding roots of a system of non-linear system. The standard caveats apply when finding the multi-dimensional roots. https://bestw.gnu.org/software/gsl/manual/html_node/Multidimensional-Root_002dFinding.html#Multidimensional-Root_002dFinding The templated class (must be compiled with  -std=c++11). It uses … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

Getting caught in a loop while traversing a (directed acyclic) graph

How to detect if you are getting caught inside a loop when you are traversing a directed graph. This is equivalent of checking if you graph is a Directed Acyclic Graph (DAG). Assume that each vertex of graph has a … Continue reading

Posted in Algorithms, Graph Theory | Tagged , , , | Leave a comment