Posts Tagged ‘ arrays ’

Example 9.21: The birthday "problem" re-examined

February 23, 2012
By
Example 9.21: The birthday "problem" re-examined

The so-called birthday paradox or birthday problem is simply the counter-intutitive discovery that the probability of (at least) two people in a group sharing a birthday goes up surprisingly fast as the group size increases. If the group is only 23 peo...

Read more »

A Function for Adding up Matrices with Different Dimensions

November 24, 2011
By
A Function for Adding up Matrices with Different Dimensions

I was unlucky finding a function that can handle matrices with different dimensions. Thus, I coded a little function that sums up matrices, also coping with matrices with different dimensions.Read more »

Read more »

Add Transparency to JPEG – Yes, We Can!

November 9, 2011
By
Add Transparency to JPEG – Yes, We Can!

...Just read you JPEG and add an alpha channel manually, then assign values for transparency. Of course for printing you need to use a device that accepts alpha.See how it's done HERE.

Read more »