Entries in the ‘Algorithms’ Category:

Understanding Fast Inverse Square Root (as used in the game Quake)

“An article and research paper describe a fast, seemingly magical way to compute the inverse square root (1/sqrt(x)), used in the game Quake. I’m no graphics expert, but appreciate why square roots are useful. The Pythagorean theorem computes distance between points, and dividing by distance helps normalize vectors. (Normalizing is often just a fancy term [...]

Tags: , ,

Leave a Comment

Understanding the Fourier transform

“A very long time ago, I was curious how to detect the strength of the bass and treble in music, in order to synchronize some graphical effects. I had no idea how to do such a thing, so I tried to figure it out, but I didn’t get very far. Eventually I learned that I [...]

Tags: , ,

Leave a Comment

Really Good Resource for Sorting Algorithms

This is something definitely worth sharing, very useful for anyone who wants to learn more about different sorting algorithms.  If you want to learn more about different types of sorting this is the perfect place to start. It even has animations to show how different algorithms work and pseudo-code to help you get started with [...]

Tags: ,

Leave a Comment

America’s Most Important Algorithm

“Yesterday the Census Bureau announced the new apportionment of the 435 representatives to states based on the 2010 census. Illinois lost one representative. Texas gains four. Not only do these affect the makeup of the House of Representatives but also the Electoral College that chooses the president. Since 1940 the apportionment is not done by [...]

Tags: , ,

Leave a Comment

Beginning with Big O Notation

What is it? Big O Notation describes the limiting behavior of a function when the argument trends toward a certain value. Basically, it helps to describe the complexity and performance of an algorithm. This notation can also help to understand the execution time needed or space required by an algorithm. O(1) This describes an algorithm [...]

Tags: , , ,

Leave a Comment

What do sorting algorithms sound like?

Rudy Andrut has auralized a bunch of sorting algorithms based on their visualizations. They sound pretty amazing! Also, if you are looking for the visualizations that were previously done check them out here: sorting algorithm visualizations (sortvis.org). Here are the videos:

Tags: , ,

Leave a Comment

Fast Sorting Algorithm Uses GPUs

A new, extremely fast sorting algorithm has been created for GPUs (CUDA-capable only) by researchers at the University of Virginia. This new algorithm is capable of sorting at a rate of one billion (integer) keys per second using a GPU. Normally CPUs aren’t as efficient as CPUs for these types of algorithms (for sorting), but [...]

Tags: , , ,

Leave a Comment

Introduction to Parallel & Distributed Algorithms

Originally algorithms were designed to process a single item at a time in sequential order. However, modern computer hardware is able to process multiple pieces of data at the same time in parallel. This leads to Parallel and Distributed Computing algorithms for solving more complex problems efficiently. I came across an interesting webpage which gives [...]

Tags: , ,

Leave a Comment

Why GNU Grep is so fast

GNU Grep has been around for decades. This is a common *nix tool for searching named input files for lines containing a match to a given pattern. The original author, Mike Haertel, has a post on the FreeBSD mailing list describing why its so far compared to the BSD implementation of Grep. There are a [...]

Tags: , , ,

Leave a Comment




PHP Error Message

Fatal error: Call to undefined function advman_ad() in /home/a3151242/public_html/wp-content/themes/black-splat-wr/archive.php on line 54