Map API to math, cmath, and numpy via data structures; more thorough testing to come.