efficiencies in stationary

This commit is contained in:
James Hensman 2014-02-28 11:01:54 +00:00
parent d8c2f78131
commit 7ae9d03c45
2 changed files with 41 additions and 14 deletions

View file

@ -311,7 +311,3 @@ class RBF(Stationary):
type_converters=weave.converters.blitz, **self.weave_options)
return denom, Zdist, Zdist_sq, mudist, mudist_sq, psi2
def input_sensitivity(self):
if self.ARD: return 1./self.lengthscale
else: return (1./self.lengthscale).repeat(self.input_dim)