Re: [R] reasonable theory?

2011-10-30 Thread James Cloos
> "SG" == Spencer Graves writes: SG> If you know nothing about the black box except that its domain is SG> bounded, then I would random sample uniformly from the domain. If the SG> function is monotonically increasing in all variables, then you only SG> need to test the two extreme points.

Re: [R] reasonable theory?

2011-10-12 Thread Spencer Graves
If you know nothing about the black box except that its domain is bounded, then I would random sample uniformly from the domain. If the function is monotonically increasing in all variables, then you only need to test the two extreme points. If you know other things, you may be able to use th

[R] reasonable theory?

2011-10-12 Thread James Cloos
Before coding this in C, I wanted to test the idea out in R. But I'm unsure if the theory is well-founded. I have a (user-supplied) black-box function which takes R^n -> R^3 and a defined domain for each of the input reals. I want to send some samples through the box to determine an approximatio