Automatic Differentiation and Dual Numbers

dual numbers fortran In my book, its a great week if you learn something new on the first day of the week. A few weeks back I stumbled upon automatic differentiation and dual numbers.

Fascinated I decided to explore these two topics and actually coded this Fortran module to do some basic operations with dual numbers.

What are dual numbers?
They are like complex numbers with a twist.

Read more about them here at this following links

  1. Dual Numbers SImple Math.
  2. Autodiff in Perl

Meanwhile here’s the Fortran module for using dual numbers. Still in early development. I hope to take this up latter when I have some more time.

Fortran Module For Dual Numbers

About these ads

Tagged: , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 988 other followers

%d bloggers like this: