Entries in the ‘Algorithms’ Category:
filed in Algorithms, Gaming, PC on Jun.28, 2011
“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: id software, inverse square root, quake
filed in Algorithms on May.18, 2011
“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: algorithm, algorithms, fourier transform
filed in Algorithms on Jan.05, 2011
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: algorithms, sorting
filed in Algorithms on Dec.22, 2010
“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: algorithm, algorithms, census
filed in Algorithms, Education on Sep.20, 2010
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: algorithms, big o, big o notation, logarithms
filed in Algorithms on Sep.03, 2010
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: algorithms, sorting, sound
filed in Algorithms on Aug.30, 2010
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: algorithm, cuda, gpu, sorting
filed in Algorithms, Distributed Systems on Aug.27, 2010
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: algorithms, distributed, parallel
filed in Algorithms on Aug.24, 2010
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: boyer-moore, fast string, gnu, grep
Fatal error: Call to undefined function advman_ad() in /home/a3151242/public_html/wp-content/themes/black-splat-wr/archive.php on line 54