.NET news » Algorithms Algorithms Rss Feed

Best Square Root Method (Precision VS Speed)

I enjoy Game Programming with Directx and I noticed that the most called method through out most of my games is the standard sqrt method in the Math.h and this made me search for faster functions than the standard sqrt. And after some searching I found lots of functions that were much much faster but it's always a compromise between speed and precision. The main purpose of this article is to help people choose the best square-root method that suits their program.
24 Jun 2010, 04:35:00   Source: Best Square Root Method (Precision VS Speed)   Tags: Algorithms Performance

Rational Numbers - .Net 4.0 version

This article presents a structure for representing rational numbers in C# 4.0. Before the current version of the net framework, making a reasonably useful representation of Rational numbers would have been a significant piece of work. The addition of the BigInteger made it possible to construct a Rational number of effectively infinite precision, which is a potentially very useful thing. It has been packaged along with the unit tests used in its production and code coverage is 100%.
21 Jun 2010, 23:35:00   Source: Rational Numbers - .Net 4.0 version   Tags: Algorithms

An introduction to numerical programming in C#

Some of the first things you need to know when writing numerical software in C#.
9 Jun 2010, 15:26:00   Source: An introduction to numerical programming in C#   Tags: Algorithms C#

BigInteger Library

A .NET 2.0 and Mono library for the 64 bit optimized handling of very large integers, up to 10240 binary digits or approximately (safe to use) 3000 decimal digits
3 Jun 2010, 16:53:00   Source: BigInteger Library   Tags: Algorithms

Visualizing Complex Functions

A program to produce beautiful and informative images of complex functions.
12 May 2010, 01:28:00   Source: Visualizing Complex Functions   Tags: Examples Graphics Algorithms

Comparison Sorting algorithms in C# explained

In computer science and mathematics, a sorting algorithm is an algorithm that puts elements of a list in a certain order. These algorithms are briefly divided into two parent categories as Comparison based sorting algorithms which include BubbleSort, SelectionSort, InsertionSort, ShellSort, MergeSort, HeapSort and QuickSort as most commonly used amongst all and Non-Comparison based sorting algorithms such as RadixSort, BucketSort etc. The focus of this article is to provide various comparison based sorting algorithms in a simplistic way with optimized, cleaned up and easy to understand code (with proper comments and instructions).
11 May 2010, 23:28:00   Source: Comparison Sorting algorithms in C# explained   Tags: Algorithms C#

Three Methods for Root-finding in C#

Three numerical algorithms for solving equations, each implemented in C#
6 May 2010, 13:00:00   Source: Three Methods for Root-finding in C#   Tags: Algorithms C#

Sorting Algorithms Codes in C#.net

This Article Have the Codes of QuickSort,MergeSort,BubbleSort,HeapSort
5 May 2010, 13:33:00   Source: Sorting Algorithms Codes in C#.net   Tags: Algorithms C#

Handwriting Recognition using Kernel Discriminant Analysis

Demonstration of handwritten digit recognition using Kernel Discriminant Analysis and the Optical Recognition of Handwritten Digits Data Set from the UCI Machine Learning Repository.

Apriori Algorithm

In Data Mining, Apriori is a classic algorithm for learning association rules. Apriori is designed to operate on databases containing transactions (for example, collections of items bought by customers, or details of a website frequentation). Here is the implementation of the Apriori Algorithm in C#.
22 Apr 2010, 09:38:00   Source: Apriori Algorithm   Tags: Algorithms