An attempt to construct common mathematical structures and related functions in C.