Click here to Skip to main content
14,691,000 members

Articles by John D. Cook (Articles: 19)

Articles: 19

RSS Feed

Average article rating: 4.72

C#
Beginners
Posted: 9 Jun 2010   Updated: 26 Jun 2014   Views: 62,320   Rating: 4.63/5    Votes: 26   Popularity: 6.56
Licence: The BSD License      Bookmarked: 53   Downloaded: 0
Please Sign up or sign in to vote.
Some of the first things you need to know when writing numerical software in C#.
Libraries
General
Posted: 23 Jul 2009   Updated: 26 Jun 2014   Views: 71,980   Rating: 4.67/5    Votes: 4   Popularity: 2.81
Licence: The BSD License      Bookmarked: 27   Downloaded: 0
Please Sign up or sign in to vote.
How to get started using the SciPy library for scientific computing in Python.
Algorithms & Recipes
General
Posted: 11 Apr 2008   Updated: 26 Jun 2014   Views: 624,037   Rating: 4.90/5    Votes: 104   Popularity: 9.80
Licence: The BSD License      Bookmarked: 174   Downloaded: 16,984
Please Sign up or sign in to vote.
A simple random number generator in C#
Math
Posted: 16 Oct 2008   Updated: 26 Jun 2014   Views: 55,831   Rating: 4.94/5    Votes: 9   Popularity: 4.72
Licence: The BSD License      Bookmarked: 31   Downloaded: 507
Please Sign up or sign in to vote.
This article presents a method for optimizing a function of one variable without requiring a derivative function.
Posted: 10 Mar 2009   Updated: 26 Jun 2014   Views: 25,060   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The BSD License      Bookmarked: 9   Downloaded: 0
Please Sign up or sign in to vote.
Code for computing normal probabilities and a discussion of what does and does work in IronPython
Posted: 24 Sep 2008   Updated: 26 Jun 2014   Views: 280,124   Rating: 4.91/5    Votes: 118   Popularity: 9.98
Licence: The BSD License      Bookmarked: 146   Downloaded: 715
Please Sign up or sign in to vote.
This article covers five of the most important things someone needs to know when working with floating point numbers.
Posted: 6 May 2010   Updated: 26 Jun 2014   Views: 75,892   Rating: 4.85/5    Votes: 25   Popularity: 6.78
Licence: The BSD License      Bookmarked: 52   Downloaded: 2,914
Please Sign up or sign in to vote.
Three numerical algorithms for solving equations, each implemented in C#
Posted: 3 Feb 2010   Updated: 26 Jun 2014   Views: 60,892   Rating: 4.18/5    Votes: 8   Popularity: 3.77
Licence: The BSD License      Bookmarked: 15   Downloaded: 576
Please Sign up or sign in to vote.
How to determine the parameters of a probability distribution given two percentile constraints
Posted: 22 Feb 2012   Updated: 26 Jun 2014   Views: 58,413   Rating: 4.98/5    Votes: 19   Popularity: 6.36
Licence: The BSD License      Bookmarked: 49   Downloaded: 2,837
Please Sign up or sign in to vote.
How to implement and use Simpson's rule
Posted: 6 Dec 2008   Updated: 28 Jun 2014   Views: 140,514   Rating: 4.89/5    Votes: 65   Popularity: 8.83
Licence: The BSD License      Bookmarked: 99   Downloaded: 2,540
Please Sign up or sign in to vote.
Numerical integration of smooth functions over a finite interval using an optimal algorithm.
Posted: 12 Aug 2008   Updated: 6 Nov 2014   Views: 166,432   Rating: 4.82/5    Votes: 78   Popularity: 9.06
Licence: The BSD License      Bookmarked: 100   Downloaded: 0
Please Sign up or sign in to vote.
Some of the subtle problems that can arise when working with random number generators
Posted: 16 Apr 2008   Updated: 17 Dec 2014   Views: 155,124   Rating: 4.88/5    Votes: 86   Popularity: 9.37
Licence: The BSD License      Bookmarked: 116   Downloaded: 757
Please Sign up or sign in to vote.
Describes why the most obvious way of evaluating functions may be bad and how to do better
Posted: 11 Sep 2008   Updated: 10 Dec 2015   Views: 72,320   Rating: 3.81/5    Votes: 15   Popularity: 4.11
Licence: The BSD License      Bookmarked: 42   Downloaded: 0
Please Sign up or sign in to vote.
An introduction to interpolation and inverse interpolation
Sorting
Posted: 28 Apr 2008   Updated: 26 Jun 2014   Views: 58,770   Rating: 4.79/5    Votes: 16   Popularity: 5.76
Licence: The BSD License      Bookmarked: 31   Downloaded: 644
Please Sign up or sign in to vote.
How to compute percentiles of a stream of data too large to fit into memory at once
String handling
General
Posted: 11 Apr 2008   Updated: 26 Jun 2014   Views: 36,620   Rating: 4.67/5    Votes: 6   Popularity: 3.63
Licence: The BSD License      Bookmarked: 16   Downloaded: 254
Please Sign up or sign in to vote.
A script for extracting string literals from source code for review
Regular Expressions
Posted: 22 May 2008   Updated: 26 Jun 2014   Views: 86,543   Rating: 4.43/5    Votes: 24   Popularity: 5.95
Licence: The BSD License      Bookmarked: 38   Downloaded: 0
Please Sign up or sign in to vote.
This article answers some of the first questions that come up when using regular expressions in C++ TR1
Installation
General
Posted: 20 Apr 2008   Updated: 26 Jun 2014   Views: 58,360   Rating: 4.86/5    Votes: 5   Popularity: 3.39
Licence: The BSD License      Bookmarked: 28   Downloaded: 944
Please Sign up or sign in to vote.
We describe a PowerShell script to extract source code from Team System version control and automate the build process
Posted: 24 Jun 2008   Updated: 26 Jun 2014   Views: 41,200   Rating: 4.56/5    Votes: 8   Popularity: 4.12
Licence: The BSD License      Bookmarked: 23   Downloaded: 418
Please Sign up or sign in to vote.
This article describes RunAndWait, a program that provides monitoring and logging for scheduled tasks
Interviews
General
Posted: 29 Feb 2012   Updated: 20 Nov 2014   Views: 42,480   Rating: 4.94/5    Votes: 16   Popularity: 5.94
Licence: The BSD License      Bookmarked: 6   Downloaded: 0
Please Sign up or sign in to vote.
Welcome to our continuing series of Code Project interviews in which we talk to developers about their backgrounds, projects, interests and pet peeves. In this installment we talk to Code Project MVP, “math professor, programmer, consultant, manager, and statistician” John D. Cook.
No blogs have been submitted.
No tips have been posted.
No reference articles have been posted.
No projects have been posted.

John D. Cook
President John D. Cook Consulting
United States United States
I work in the areas of applied mathematics, data analysis, and data privacy.

Check out my blog or send me a note.