![]() |
| | #1 |
| Registered User Join Date: Apr 2008
Posts: 15
| Inverse chi square cumulative distribution I need to use the inverse chi square cumulative distribution as part of a bigger program to predict pass/fail criteria. MatLab has a great implementation of this function; however I would rather not have to rely on MatLab. The function in matlab is described here. Personally, I can't imagine where I would start coding such a function. Actually I have very little knowledge of how it works. I just need to use it. I tried using the GNU Scientific library, but could not get it work with my compiler (I am using Visual C++ under Windows 2000, coding in C). I was wondering if any one knows of a better suited library which I can install and use with my compiler, or perhaps if you have any recommendations about coding such a function, or if you have the code already and would not mind sharing. Thanks in advance. |
| aeldes1 is offline | |
| | #2 | |
| Registered User Join Date: Apr 2008
Posts: 15
| So after a bit of playing around with my compiler, I discovered that the GSL works with Dev-C++ on Windows with no problems. What you need to do to get it to work with Dev-C++ is described here. Unfortunately for me however I am using an .obj resource file, which I can't get to compile with Dev-C++. I added it under Project Options>> Parameters>>Linker>> Add Library or Object. That made the compile know that it's there (because before it would give me errors that certain functions are not defined). However, when I try to compile now I get the following error Quote:
I trying searching the net but with no hope so far. Any ideas out there? If you can help me solve the Dev-C++ uuid.lib problem or if you have experience with GSL on Visual C++ that would be great. | |
| aeldes1 is offline | |
| | #3 |
| Registered User Join Date: Apr 2008
Posts: 15
| Following up on this, I gave up on trying to code the actual inverse cumulative chi square function. Instead, I am using a data fitting program from here: http://www.oakdaleengr.com/ to find an approximation, and I will code that function instead. |
| aeldes1 is offline | |
![]() |
| Tags |
| chi square, statistics |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Tic Tac Toe Comp Move help | swgh | C++ Programming | 5 | 09-24-2008 11:05 AM |
| Loop seg error | Zishaan | Game Programming | 2 | 03-28-2007 01:27 PM |
| Forced moves trouble!! | Zishaan | Game Programming | 0 | 03-27-2007 06:57 PM |
| Help with my draughts game | Zishaan | C++ Programming | 9 | 03-24-2007 07:33 AM |
| C++ Checkers Game | SnS CEO | C++ Programming | 9 | 09-07-2005 01:21 AM |