These examples are adapted from http://wwwteor.mi.infn.it/%7Epernici/pyrexgsl/pyrexgsl.html