give a C2Function hints about interesting points to sample for integration, etc.
- Parameters:
-
| grid | an indexable list of points which is a starting point for any recursive sampling |
- Note:
- typically, this grid can be quite coarse. For periodic functions, it may be just more frequent than 1 point per period. DO NOT make it have the same period as the function, since this will certainly break any recursive measures of convergence. It will see the function the same at every point, and think it is dealing with a constant.
Definition at line 442 of file C2Functions.py.
00442 :
00443 "provide a set of 'interesting' points for starting to sample this function"
00444 self.sampling_grid=_numeric.array(grid)
00445