Monthly Archives: February 2015

Dynamic Cast with Generic Collection

Greetings to my blog readers! In this post I will share with you a trick of achieving something that, quite frankly, I do not recommend doing – dynamically casting types in generic collections. In my previous post here I showed … Continue reading

Posted in C# Programming | Tagged

Transforming Uniform Random Variables to Normal

In my previous post here I have shared with you some methods for generating uniform random variables. For many practical tasks we need random variables that are distributed normally around some mean. There are two well know approaches for transforming … Continue reading

Posted in Monte Carlo | Tagged ,

Solving ODEs Numerically

In this post we are going to look at two methods for approximating a solution to some ordinary differential equation. We will only consider the first order separable initial value problems. Here, the ‘first order’ means that the problem contains … Continue reading

Posted in Numerical Analysis | Tagged ,

C# Language Features

This blog post is about some features of C# language. Sometimes, as I am thinking about a certain language feature, I ask myself why something is the way it is. Some questions find immediate answers. Mind you, the questions are … Continue reading

Posted in C# Programming | Tagged

Solving Nonlinear Equations Numerically

Knowing the roots of some nonlinear equation allows us to answer the question about which values of x make equal to zero. There are many approaches to findings the roots of equation in nonlinear algebra. Some of the well-known ones … Continue reading

Posted in Numerical Analysis | Tagged ,