
14 Apr
2008
14 Apr
'08
10:11 a.m.
Anup Mandvariya wrote:
Hi All, I have some queries related with boost.math library as ststed below:
a) Is it possible to write many of the functions in the boost.math library (like beta and gamma functions) so that they can be parallelized irrespective of the "way of parallelization"(such as using OpenMP, MPI, etc...) and the "environment" (like multicore or a cluster)?
What do you mean by parallelizing the beta function? The task of evaluating the beta function for a single value is not parallelizable. The task of evaluating the beta function for each value in a container is of course parallelizable. But doing that requires parallelized STL algorithms, and has nothing to do with the Boost.Math library. --Johan Råde