def calc_K_xx_wo_variance(self,X):
K_xx = np.ones([X.shape[<NUM_LIT:0>],X.shape[<NUM_LIT:0>]]) <EOL>for i,x in enumerate(X):<EOL><INDENT>for j,x2 in enumerate(X):<EOL><INDENT>for il,l in enumerate(self.lengthscale):<EOL><INDENT>idx = il*<NUM_LIT:2> <EOL>K_xx[i,j] *= self.k_xx(x[idx],x2[idx],x[idx+<NUM_LIT:1>],x2[idx+<NUM_LIT:1>],l)<EOL><DEDENT><DEDENT><DEDENT>return K_xx<EOL>
Calculates K_xx without the variance term