looking for some help to find some functionality
Dear All, I'm new to boost, and trying to use it in an on-going development. I'm looking for some functionality but I was not able to find them in boost. I appreciate your help, comments, and suggestions. Functionality I'm looking for: 1. A way determine whether a value is not a number (eg. System.Double.IsNaN(double) in C#) 2. A way to determine if a number if infinity (eg. System.Double.IsInfinity(double) in C#) 3. Availability of Normal Density Function, Cumulative Normal Density Function, and Inverse Cumulative Normal Density. Thank you. Jeff
AMDG Jeff T wrote:
I'm new to boost, and trying to use it in an on-going development. I'm looking for some functionality but I was not able to find them in boost. I appreciate your help, comments, and suggestions.
Functionality I'm looking for: 1. A way determine whether a value is not a number (eg. System.Double.IsNaN(double) in C#) 2. A way to determine if a number if infinity (eg. System.Double.IsInfinity(double) in C#)
http://www.boost.org/libs/math/doc/sf_and_dist/html/math_toolkit/utils/fpcla...
3. Availability of Normal Density Function, Cumulative Normal Density Function, and Inverse Cumulative Normal Density.
http://www.boost.org/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_r... In Christ, Steven Watanabe
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users- bounces@lists.boost.org] On Behalf Of Steven Watanabe Sent: Friday, September 03, 2010 10:00 PM To: boost-users@lists.boost.org Subject: Re: [Boost-users] looking for some help to find some functionality
AMDG
Jeff T wrote:
I'm new to boost, and trying to use it in an on-going development. I'm looking for some functionality but I was not able to find them in boost. I appreciate your help, comments, and suggestions.
Functionality I'm looking for: 1. A way determine whether a value is not a number (eg. System.Double.IsNaN(double) in C#) 2. A way to determine if a number if infinity (eg. System.Double.IsInfinity(double) in C#)
http://www.boost.org/libs/math/doc/sf_and_dist/html/math_toolkit/utils/fpcla
ss.html
3. Availability of Normal Density Function, Cumulative Normal Density Function, and Inverse Cumulative Normal Density.
http://www.boost.org/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_
ref/dists/normal_dist.html
normal (Gaussian) Yes - But we don't - yet- have the *inverse* normal distribution - but I am just adding some more distributions (inverse gamma and inverse chi squared) and I might add this one too if there is demand. It's not trivial, but seems to have been studied and there are some published implementations that could probably be adapted quite easily for the Boost.Math multi-precision format. http://home.online.no/~pjacklam/notes/invnorm/ Paul PS I note that we obviously (from this question) still don't have an fully effective *index* of stuff in Boost. --- Paul A. Bristow, Prizet Farmhouse, Kendal LA8 8AB UK +44 1539 561830 07714330204 pbristow@hetp.u-net.com
On Sep 4, 2010, at 11:03 AM, Paul A. Bristow wrote:
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users- bounces@lists.boost.org] On Behalf Of Steven Watanabe Sent: Friday, September 03, 2010 10:00 PM To: boost-users@lists.boost.org Subject: Re: [Boost-users] looking for some help to find some
3. Availability of Normal Density Function, Cumulative Normal Density Function, and Inverse Cumulative Normal Density.
http://www.boost.org/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_
ref/dists/normal_dist.html
normal (Gaussian) Yes -
But we don't - yet- have the *inverse* normal distribution - but I am just adding some more distributions (inverse gamma and inverse chi squared) and I might add this one too if there is demand. It's not trivial, but seems to have been studied and there are some published implementations that could probably be adapted quite easily for the Boost.Math multi-precision format.
Hi Paul, I coded up an inverse gaussian years ago for use with an LHS (latin hypercube sampling) program. I attach the files though regrettably I didn't make a note of where the coefficients came from (probably from the original LHS Fortran 77 application). Don't know if they're any help but thought I'd send them along. -- Noel
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users- bounces@lists.boost.org] On Behalf Of Belcourt, Kenneth Sent: Monday, September 06, 2010 4:23 PM To: boost-users@lists.boost.org Subject: Re: [Boost-users] looking for some help to find some functionality
On Sep 4, 2010, at 11:03 AM, Paul A. Bristow wrote:
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users- bounces@lists.boost.org] On Behalf Of Steven Watanabe Sent: Friday, September 03, 2010 10:00 PM To: boost-users@lists.boost.org Subject: Re: [Boost-users] looking for some help to find some
3. Availability of Normal Density Function, Cumulative Normal Density Function, and Inverse Cumulative Normal Density.
http://www.boost.org/libs/math/doc/sf_and_dist/html/math_toolkit/dist/ dist_
ref/dists/normal_dist.html
normal (Gaussian) Yes -
But we don't - yet- have the *inverse* normal distribution - but I am just adding some more distributions (inverse gamma and inverse chi squared) and I might add this one too if there is demand. It's not trivial, but seems to have been studied and there are some published implementations that could probably be adapted quite easily for the Boost.Math multi-precision format.
Hi Paul,
I coded up an inverse gaussian years ago for use with an LHS (latin hypercube sampling) program. I attach the files though regrettably I didn't make a note of where the coefficients came from (probably from the original LHS Fortran 77 application).
Don't know if they're any help but thought I'd send them along.
Thanks for these. http://home.online.no/~pjacklam/notes/invnorm/impl/lea/lea.c also looks promising for inverse gaussian. Paul
participants (4)
-
Belcourt, Kenneth
-
Jeff T
-
Paul A. Bristow
-
Steven Watanabe