Codwiz51's Wiki

I would like to thank the faculty and staff at MD Anderson and University of Texas for making the source code for this library available. The source code may be downloaded here. I would also like to thank Dr. John D. Cook for his assistance, advice and encouragement in this work.

This is the home for my work on dcdflib. This project involves porting the native C++ version (found here) to a managed version that may be compiled using the /clr:safe compile option. The reference FORTRAN 90 source code is located here.

I decided to move this project off my blog, as the wiki provides a better platform for discussing the details of cleaning up the source code and my rational for coding operations "my way".

My original port of dcdflib and the test program to managed code: dcdflibTest-Rel.1.1.zip

admin, 2008/10/18 10:41 Here's the next release of dcdflib. I've cleaned up a few more routines. I am relying on the difference reports in Visual Source Safe to point out code differences. Comparing results between the test program and the modified code is quite tedious. I am in the process of looking at how I can speed up comparison testing. I've also found that the test program does not do a good job of exercising all code paths in a routine. This means some delays while I look at some new unit test procedures. dcdflibTest-Rel.1.3.7z (I've switched to 7-zip open source compression. You can download 7-zip here.)

admin, 2008/10/19 08:31 I've added some discussion of how I am cleaning up labels left over from the old FORTRAN port to C++. Cleaning Up Labels

codewiz51, 2008/10/23 16:18 I managed to complete the layout of beta_inc (Incomplete Beta Function) and beta_pser (Beta Function Power Series expansion). What has been accomplished is the rearrangement of code to eliminate the use of labels and goto statements in the code. Before you ask, I am not opposed to the use of goto statements. I enjoy the mental exercise of modernizing the code. DCDFLIB - Rel 1.4

codewiz51, 2008/11/09 19:02 Here's Release 1.5 of DCDFlib. I cleaned up labels and goto statements for most of the remaining beta_* functions. I have not removed cleanup comments. I ran into some unexpected bugs early in this release (the bugs were introduced by me). It caused a significant delay, so I decide to release the code "as is". I've run multiple test suites, and the test program has several "extra" output calls which I have not removed. Enjoy the code. dcdflibTest-Rel.1.5.7z

codewiz51, 2009/04/22 20:24 Release 1.6 of DCDFlib. This release cleans up method cdfbet. I was able to replace a large extended if-else-if block with a switch statement. No problems were encountered and the test program gives the same results as the real mode program. Click this link to download: dcdflib.1.6.7z

codewiz51, 2009/05/12 20:57 Release 1.6.8 of DCDFlib. This release cleans up method cdfbin. Test program gives the same results as the native code version. Click this link to download dcdflibTest-Rel.1.6.8.7z


ScrewTurn Wiki version 2.0.36. Some of the icons created by FamFamFam.