From: Johan Råde (rade_at_[hidden])
Date: 2008-04-14 06:11:35
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.