Month: June 2009
-
Mirroring git respositories to DreamHost
Casper Fabricius has a nice shell script for creating new git repositories on DreamHost. Unfortunately, this works only for creating new repositories.
-
Defining new format wrappers in Mathematica
One problem I had with the expression-to-C converter is that CForm converts negations of terms into a negation of parenthesized terms.
-
Converting symbolic Mathematica expressions to C code
I frequently use Mathematica to rearrange or solve symbolic equations to use in C++ programs. While Mathematica is quite powerful for that, it has no facility to hoist common subexpressions into variables.