The Algebra of Data

This book introduces an algebraic model of data. If you are familiar with relational algebra, then you can think of data algebra as a generalization. If you are not familiar with relational algebra, t

Read More…

Swap values in C without intermediate variable

Using the following properties of the XOR function: Associativity {% latex %} $(a \oplus b) \oplus c = a \oplus (b \oplus c) $ {% endlatex %} Commutativity {% latex %} $a \oplus b = b \oplus a $ {

Read More…

All Posts by Category or Tags.