Explore >> Select a destination


You are here

fredrikj.net
| | cp4space.hatsya.com
14.2 parsecs away

Travel
| | A couple of years ago I described a primep which possesses various properties that renders it useful for computing number-theoretic transforms over the field $latex \mathbb{F}_p$. Specifically, we have: $latex p = \Phi_{192}(2) = \Phi_6(2^{32}) = 2^{64} - 2^{32} + 1$ where the first of these equalities uses the identity that: $latex \Phi_{k}(x) = \Phi_{rad(k)}(x^{k/rad(k)})$...
| | deniskyashif.com
14.6 parsecs away

Travel
| | How to define a recursive function in a language which doesn't support recursion using the Y combinator.
| | www.jeremykun.com
12.8 parsecs away

Travel
| | Problem: Compute the product of two polynomials efficiently. Solution: import numpy from numpy.fft import fft, ifft def poly_mul(p1, p2): """Multiply two polynomials. p1 and p2 are arrays of coefficients in degree-increasing order. """ deg1 = p1.shape[0] - 1 deg2 = p1.shape[0] - 1 # Would be 2*(deg1 + deg2) + 1, but the next-power-of-2 handles the +1 total_num_pts = 2 * (deg1 + deg2) next_power_of_2 = 1 << (total_num_pts - 1).
| | wimwiddershins.wordpress.com
80.7 parsecs away

Travel
| Here's a fascinating read by "Bunnie" of xbox hacking and Chumby fame on the subject of dodgy MicroSD cards. http://www.bunniestudios.com/blog/?p=918