def __call__(self, x, *args):
f = Function.__call__(self, x, *args)
if self.rel_noise:
f += f * self.rel_noise(len(x))
assert np.isscalar(f)
if self.abs_noise:
f += self.abs_noise(len(x))
return f