bug-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gsl] problems with gsl_cdf_gamma_Pinv and gsl_cdf_beta_Pinv


From: Mike L. Hogan
Subject: [Bug-gsl] problems with gsl_cdf_gamma_Pinv and gsl_cdf_beta_Pinv
Date: Fri, 12 Jul 2019 15:03:47 +0000

The version number of GSL    version 2.5

The hardware and operating system     OS is CentOS version 7 (Core)
Hardware Dell PowerEdge R940 running Intel(R) Xeon(R) Platinum 8270 CPU

The compiler used, including version number and compilation options

g++ -g -O0 -lm -ldl /usr/lib64/libtdsodbc.so.0 /usr/lib64/libtdsS.so 
/usr/lib64/libgsl.so /usr/lib64/libglpk.so.0.25.0 /usr/lib64/libgslcblas.so 
-lboost_date_time -lboost_filesystem -Wl -I  ../../include -I 
/usr/local/include /usr/lib64/libtdsodbc.so.0 /usr/lib64/libtdsS.so 
/usr/lib64/libgsl.so /usr/lib64/libglpk.so.0.25.0 /usr/lib64/libgslcblas.so 
-lboost_date_time -lboost_filesystem inverse_cumulant_errors.o -o 
../../binTest/inverse_cumulant_errors.debug


A description of the bug behaviour  The routine shown below terminate with the 
message 'gsl: gammainv.c:111: ERROR: inverse failed to converge'.  That is, of 
course,only the first of the 2 routines.  I include the other so that you can 
see the parameters with which it bombs.   We have (btw) other working code 
using gsl routines.


A short program which exercises the bug


#include <iostream>
#include <fstream>
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <string.h>
#include <iomanip>
#include <vector>
#include <set>
#include <algorithm>
#include <gsl/gsl_math.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
#include <gsl/gsl_errno.h>
#include <gsl/gsl_cdf.h>

int main (int argc, char **argv) {
   double x;
x = gsl_cdf_gamma_Pinv( 0.0009999999999999998, 0.099999999999999978, 1.0);
         x =  gsl_cdf_beta_Pinv(.562, .01, .99);

        exit(0);
}




Michael Hogan  * Altum Capital Management (UK) Ltd. *
84 Brook Street, London, W1K 5EH *
T +44 20 3670 6913
Email address@hidden<mailto:address@hidden>
[Description: cid:image001.jpg@01CEFBD9.A8A147A0]
Altum Form 
ADV<http://www.adviserinfo.sec.gov/iapd/content/viewform/adv/sections/iapd_AdvIdentifyingInfoSection.aspx?ORG_PK=160123&RGLTR_PK=50000&STATE_CD=&FLNG_PK=043E2D540008016B0462E4F00466472D056C8CC0>
 * Privacy<http://www.altumcredit.com/privacy-notice> Policy

This e-mail message and all attachments transmitted with it may contain legally 
privileged and/or confidential information intended solely for the use of the 
addressee(s). If the reader of this message is not the intended recipient, you 
are hereby notified that any reading, dissemination, distribution, copying, 
forwarding or other use of this message or its attachments is strictly 
prohibited. If you have received this message in error, please notify the 
sender immediately and delete this message and all copies and backups thereof.  
This communication is for informational purposes only. It does not constitute 
or form part of any offer to issue or sell, or any solicitation of any offer to 
subscribe or purchase, any financial instrument nor shall it or the fact of its 
distribution form the basis of, or be relied on in connection with, any 
contract therefor or as an official confirmation of any transaction.  The 
information in this email and attachment(s), including statements concerning 
financial market trends, are based on then-current market conditions, which 
fluctuate and may be superseded by subsequent market events or for other 
reasons. The information in this email and attachment(s) is qualified in its 
entirety by the disclosures set forth herein and therein and are not intended 
for public use or distribution.  By accepting this email and the attachment(s), 
the recipient agrees that it will not distribute or provide them to any other 
person. Past performance is not necessarily indicative of future results.  
Private & Confidential -  (c) Copyright 2019 Altum Capital Management, LLC, and 
its affiliates. All rights reserved.

Altum Capital Management (UK) Limited is authorised and regulated by the UK 
Financial Conduct Authority (FCA). Registered in England No. 08133565. 
Registered Office: 4th Floor, Reading Bridge House George Street, Reading, 
Berkshire, RG1 8LS.

Telephone Recording Notice: As part of Altum Capital Management (UK) Limited's 
compliance with Financial Conduct Authority (FCA) rules requirements, certain 
telephone lines in its trading department will be recorded. Please note that 
these recordings may be made with or without the use of a spoken warning, tone 
or similar notification.

JPEG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]