On May 22, 2012, at 8:05 AM, Neil Toronto wrote: > I've thought of such things before. Unfortunately, plot doesn't know where > any singularities are, so it can't specifically sample the function at those > points. I could probably allow the user to tell plot where they are, but I > can't think of a good API for it. I'd want something general enough to handle > 1D, 2D and 3D functions, which allows the user to specify countably many > missing values, and direction of (dis)continuity.
Isn't this where a well-specified exception interface could help? It won't be fast but at least you can specify singularities as exceptions. -- Matthias ____________________ Racket Users list: http://lists.racket-lang.org/users