comp

Module for utility functions related to computational formulas.

Functions

outer_integral(arr)

Computes the integral of the outer products of the array rows using the Monte-Carlo approximation, up to the volume factor.

timeout(func, *args[, timeout, default])

Sets a timeout on a function by using a ThreadPool with one thread.