### What data structures and algorithms are applied within data warehouse cubes?

##### - by Jeff Meatball Yang

I understand that cubes are optimized data structures for aggregating and "slicing" large amounts of data. I just don't know how they are implemented.
I can imagine a lot of this technology is proprietary, but are there any resources that I could use to start implementing my own cube technology?
Set theory and lots of math are probably involved (and welcome as suggestions!), but I'm primarily interested in implementations: the data structures and query algorithms.
Thanks!