Hello! I'm not quite sure where to put this. I'm programming, but my question should be strictly mathematical. However, just for your information, I'm programming with Mathematica. I have a function that will give me points. If I give it inputs, I can get a value out of it. I can take a bunch of points and smooth it out to get a curve, but I can't get a continuous curve because internally, the function is computing elliptic integrals and matrices. Would this be considered a discritized function then? Am I in the realm of discrete mathematics? (I sure hope not :tongue2:) Anyway, I need to minimize said function. I have a gradient search method that will find the minimum in certain cases, but because the domain of the function is finite, I'm sometimes ending up searching outside the domain and the minimization fails. If there's some way to find the domain of this "discritized" function, perhaps I could constrain the minimization. Can anybody guide me on this? Even a nudge in the direction of a good resource would be quite helpful. Thanks!!!