Sunday, April 17, 2011

Energy consumption per capita

I pulled out some data from Wolfram Alpha to make the following world map of the energy consumption per capita

A close up of America is also interesting

Friday, April 8, 2011

Thursday, April 7, 2011

Energy consumption by country

This is my first widget from Wolfram Alpha



Wow!! so nice and simple to make

Tuesday, March 29, 2011

Finances and the rise of machines

Last Friday March 25th I attended the Princeton University Conference on Quant Trading.

One of the most interesting talks was the analysis of the role of computers in trading
Rise of the Machines: Algorithmic Trading in the Foreign Exchange Market

The conclusion is that computers are becoming more and more prevalent and actually dominate the Forex market already.

Friday, March 25, 2011

Inverse Matrix by the Exchange Method

After some time off, here I am again.

Here is an interesting implementation of the inverse of a matrix that I found useful when I was developing a CUDA program. This is the most efficient method to implement the inverse of a matrix in terms of memory usage, which is handy when we want to put everything in the fast but limited shared memory.

The Mathematica code is here

InverseExchange.cdf

The cuda code is next
InverseExchange.cu

Sunday, January 30, 2011

J. Math. Phys Most Downloaded Articles in August 2010

My paper about the connection between the Householder decomposition of unitary matrices and the canonical coset representation of unitary groups was the second most downloaded paper in August 2010

http://jmp.aip.org/features/most_downloaded?month=8&year=2010

Monday, December 6, 2010

Ito Calculus with Tensorial

Here is a short example on how to use the Tensorial package for Ito calculus (stochastic calculus)

ito.pdf