Beauty in Mathematics: Modular Multiplication Tables
11–20 of 26 posts
Re: Beauty in Mathematics: Modular Multiplication Tables
#12A while back, Noah Vawter was using this to make ultra-fast math at the cost of accuracy. [1] He computed each bit of an output function such as addition and multiplication as a function of any two of the N inputs of both operands. Then generated approximations using single-operator functions (and, or, nand, etc.) that minimized error. The result was single-cycle approximations. For example, he claims 44% accuracy (n…
Edit: I think I've found it: http://www.gweep.net/~shifty/portfolio/oddsvf/index.html
Re: Beauty in Mathematics: Modular Multiplication Tables
#13These are definitely interesting. They make me wonder what the underlying continuous function is, and if it's the same function for all the pictures. These mostly look like aliasing to me. Which makes sense, perhaps is nearly obvious, because that's what you get when you plot the mod of a multiply on a grid. It's pretty easy to reproduce something close to the large image (prime 9973), by just plotting the continuous…
Could you elaborate on the signal processing and the filter function?
Re: Beauty in Mathematics: Modular Multiplication Tables
#14Earlier quoted context omitted.
Could you elaborate on the signal processing and the filter function?
This video will give you a quick overview of aliasing and an anti-aliasing filter: https://www.youtube.com/watch?v=v7qjeUFxVwQ
Re: Beauty in Mathematics: Modular Multiplication Tables
#15A while back, Noah Vawter was using this to make ultra-fast math at the cost of accuracy. [1] He computed each bit of an output function such as addition and multiplication as a function of any two of the N inputs of both operands. Then generated approximations using single-operator functions (and, or, nand, etc.) that minimized error. The result was single-cycle approximations. For example, he claims 44% accuracy (n…
Eep, that's an eye-burning page. Where should I go for discussion of the fast-but-inaccurate techniques you mention?
Re: Beauty in Mathematics: Modular Multiplication Tables
#16These are definitely interesting. They make me wonder what the underlying continuous function is, and if it's the same function for all the pictures. These mostly look like aliasing to me. Which makes sense, perhaps is nearly obvious, because that's what you get when you plot the mod of a multiply on a grid. It's pretty easy to reproduce something close to the large image (prime 9973), by just plotting the continuous…
Could you elaborate on the signal processing and the filter function?
The third image uses a Gauss response function - as in the standard normal distribution (e ^ -x^2). This function spreads each sample around into neighboring pixels, and the result is that the image is just slightly blurrier, but you can get rid of all ghosting.
There are better response functions (or kernels) that are less blurry than Gauss, but I happen to personally like Gauss when generating very high quality and very large poster prints.
The other people here gave links to Nyquist theory:(https://en.wikipedia.org/wiki/Nyquist%E2%80%93Shannon_sampli...)
Knowing the theory is generally good, but I also enjoy resources that talk about image processing specifically, it's closer to home and more concrete, there are more visual examples.
Google "image resampling"
https://en.wikipedia.org/wiki/Kernel_(image_processing)
Image magick has some examples in their docs: http://www.imagemagick.org/Usage/resize/
This one's mathy, but has lots of diagrams and examples: http://eeweb.poly.edu/~yao/EL5123/lecture8_sampling.pdf
Re: Beauty in Mathematics: Modular Multiplication Tables
#17Re: Beauty in Mathematics: Modular Multiplication Tables
#18Re: Beauty in Mathematics: Modular Multiplication Tables
#19These are definitely interesting. They make me wonder what the underlying continuous function is, and if it's the same function for all the pictures. These mostly look like aliasing to me. Which makes sense, perhaps is nearly obvious, because that's what you get when you plot the mod of a multiply on a grid. It's pretty easy to reproduce something close to the large image (prime 9973), by just plotting the continuous…
Check out https://www.youtube.com/watch?v=qhbuKbxJsk8 for some insight based on a related type of diagram (related to a single row at a time from the OP’s diagrams).
Re: Beauty in Mathematics: Modular Multiplication Tables
#20Tao's undergrad analysis book has a great derivation of integers and rationals from the basics of Peano axioms for natural numbers. Highly reccommend it for somebody who wants to learn some basic but elegant mathematics.