implement common computational algorithms.