UNIQUAC equation and activity coefficients

by Trent Guidry 21. February 2010 13:18
UNIQUAC equation and activity coefficients. [More]

Soave Redlich Kwong equation and fugacities

by Trent Guidry 20. February 2010 11:28
The Soave Redlich Kwong equation and the equations for calculating pure component and mixture fugacities. [More]

Latest version of the source code

by Trent Guidry 17. January 2010 03:08
The latest version of the .NET 4.0 C# source code and solution files for the previous numerical methods [More]

Runge Kutta Fehlberg

by Trent Guidry 9. October 2009 07:33
In this post I develop the Runge Kutta 5 4 Fehlberg class, which implements a fifth/fourth order Runge Kutta Fehlberg with adaptive step sizing. [More]

Runge Kutta Butcher

by Trent Guidry 8. October 2009 04:54
In this post I develop the RungeKutta5Butcher class, which implements a fifth order Runge Kutta Butcher. [More]

Fourth order Runge Kutta

by Trent Guidry 8. October 2009 03:16
In this post I develop the RungeKutta4 class, which implements a fourth order Runge Kutta. [More]

Third order Runge Kutta

by Trent Guidry 7. October 2009 12:21
In this post I develop the Runge Kutta 3 class, which implements a third order Runge Kutta. [More]

Ralston

by Trent Guidry 7. October 2009 11:48
In this post I develop the RungeKutta2Ralston class, which implements a second order Runge Kutta Ralston. [More]

Improved Polygon

by Trent Guidry 7. October 2009 11:20
In this post I develop the RungeKutta2ImprovedPolygon class, which implements a second order Runge Kutta Improved Polygon. [More]

Heun

by Trent Guidry 7. October 2009 07:11
In this post I develop the RungeKutta2Heun class, which implements a second order Runge Kutta Heun. [More]

Euler

by Trent Guidry 7. October 2009 06:36
In this post I develop the Euler class, which implements a first order Runge Kutta. [More]

The Runge Kutta base class

by Trent Guidry 7. October 2009 05:38
In this post I develop the base class used by numerical algorithms that solve systems of ordinary differential equations, such as the Euler and Runge Kutta algorithms. [More]

BFGS DFP example

by Trent Guidry 4. October 2009 09:33
In this post I give an example of using the previously created BFGS and DFP classes to solve an unconstrained optimization problem. [More]

BFGS Broyden Fletcher Goldfarb Shanno

by Trent Guidry 4. October 2009 09:11
In this post I develop the BFGS / Broyden Fletcher Goldfarb Shanno class which is a quasi Newton numerical method that can be used for unconstrained optimization problems. [More]

DFP Davidon Fletcher Powell

by Trent Guidry 4. October 2009 08:12
In this post I develop the DFP / Davidon Fletcher Powell class which is a quasi Newton numerical method that can be used for unconstrained optimization problems. [More]

Quasi Newton

by Trent Guidry 4. October 2009 06:35
In this post I develop the quasi Newton base class which will be used as the base class for algorithms that implement quasi Newton numerical methods, such as the DFP and BFGS algorithms. [More]

Cubic bracketing

by Trent Guidry 3. October 2009 08:21
In this post I develop the code for the cubic bracketing class. [More]

Swann bracketing

by Trent Guidry 3. October 2009 07:51
In this post I develop the code for the Swann bracketing class. [More]

The bracketing base class

by Trent Guidry 3. October 2009 05:28
In this post I develop the code for the bracketing base class. [More]

Cubic reduction

by Trent Guidry 2. October 2009 06:03
In this post I develop the code for the cubic region elimination class. [More]

Parabolic reduction

by Trent Guidry 2. October 2009 04:56
In this post I develop the code for the parabolic region elimination class. [More]

Golden section

by Trent Guidry 1. October 2009 10:29
In this post I develop the code for the golden section region elimination class. [More]

Interval halving

by Trent Guidry 1. October 2009 07:34
In this post I develop the code for the interval halving region elimination class. [More]

The region elimination base classes

by Trent Guidry 1. October 2009 05:41
In this post I create the base classes used by the region elimination optimization routines. [More]

Fitting a cubic to four points and finding the local minimum

by Trent Guidry 30. September 2009 06:22
In this post I will develop a function on the Polynomial class that takes four points, fits a third order polynomial (a cubic) to them, and then attempts to find the minimum value of the polynomial. [More]

Fitting a parabola to three points and finding the minimum

by Trent Guidry 30. September 2009 05:40
In this post I will develop a function on the Polynomial class that takes three points, fits a second order polynomial (a parabola) to them, and then attempts to find the minimum value of the polynomial. [More]

Levenberg Marquardt example

by Trent Guidry 16. August 2009 03:03
In this post I will give an example of using the previously created Levenberg Marquardt class to solve a nonlinear regression problem. [More]

Antoine vapor pressure

by Trent Guidry 15. August 2009 02:59
The Antoine correlation is a fairly simple vapor pressure model that works reasonably well over a limited range of temperatures and pressures. [More]

Clausius Clapeyron vapor pressure

by Trent Guidry 15. August 2009 02:35
The Clausius Clapeyron correlation is a simple, although not very accurate, vapor pressure model. [More]

Levenberg Marquardt

by Trent Guidry 12. August 2009 14:01
In this post I will create the Levenberg Marquardt class, which can be used for nonlinear regression using the Levenberg Marquardt algorithm with numerical derivatives. [More]

Gauss Newton

by Trent Guidry 9. August 2009 12:38
In this post I will create the Gauss Newton class, which can be used for nonlinear regression using the Gauss Newton algorithm with numerical derivatives. [More]

Newton Raphson example

by Trent Guidry 3. August 2009 13:51
In this post I will give an example of using the previously created Newton Raphson class using numerical derivatives to solve a system of nonlinear equations. [More]

Newton Raphson

by Trent Guidry 2. August 2009 06:39
In this post I will create the Newton Raphson class, which can be used to find the roots of a system of nonlinear equations using the Newton Raphson method. [More]

Linear regression of polynomial coefficients

by Trent Guidry 1. August 2009 05:22
In this post I expand on the previous post on Linear and Multiple Linear Regression and give examples of regressing polynomial coefficients. [More]

Numerically calculating partial derivatives

by Trent Guidry 30. July 2009 13:26
In this post I will add functions to compute the partial derivative of a function on a class derived from ModelBase with respect to a Parameter. [More]

Creating the Parameter class

by Trent Guidry 26. July 2009 07:44
In this post I will create the Parameter class. This is a class used in future numerical methods and represents a parameter on a model such as the temperature, pressure, volume, etc. [More]

Linear and multiple linear regression

by Trent Guidry 19. July 2009 10:59
In this post I will set up the framework for doing linear and multiple linear regression. Linear regression is a fairly simple way of fitting equation parameters to a set of observed data. [More]

Fitting a polynomial to a series of points

by Trent Guidry 18. July 2009 06:14
In this post I will develop a function that takes a series of x and y points and fits a univariate polynomial to them. [More]

Calculating derivatives of a function numerically

by Trent Guidry 12. July 2009 08:10
In this post I develop a class for numerically differentiating a function using equally spaced values of that function. [More]

Adding parallel processing to the matrix class

by Trent Guidry 11. July 2009 05:49
In this post I will modify the previously created matrix class to use parallel processing with the .NET 4.0 class System.Threading.Parallel. [More]

Peng Robinson equation and fugacities

by Trent Guidry 10. July 2009 12:48
The Peng Robinson equation and the equations for calculating pure component and mixture fugacities. [More]

Adding Crout decomposition with partial pivoting to the matrix class

by Trent Guidry 30. June 2009 13:35
In this post I will add the solution of matrix equations using LU decomposition with partial pivoting, and matrix inversion to the matrix class. [More]

Adding addition, subtraction, and multiplication to the matrix class

by Trent Guidry 22. June 2009 14:43
In this post I will add matrix addition, subtraction, multiplication, and scalar multiplication to the matrix class. [More]

Creating the matrix class

by Trent Guidry 20. June 2009 11:36
This post will be about creating a matrix class, cloning it, transposing it, creating an identity matrix, and converting a matrix to and from an array. [More]

Disabled ContextMenus in WPF bug

by Trent Guidry 14. June 2009 06:49
WPF ContextMenus with RoutedCommands and CommandBindings can be disabled due to a focusing issue that appears to be a bug in WPF. [More]

Tags: ,

Weird WPF TabControl, SelectionChanged behavior

by Trent Guidry 13. June 2009 09:53
For a WPF TabControl, the SelectionChanged event fires whenever any child that inherits from Selector, such as ListBox, ComboBox, TabControl, or ListView fires its SelectionChanged event. [More]

Tags: ,

Accessing the user interface from a background thread in WPF

by Trent Guidry 11. June 2009 15:01
A post about accessing the user interface from a worker thread in WPF. [More]

Tags: , ,