def getDerMatrix(self,x=None,z=None,mode=None,der=None):
        self.checkInputGetDerMatrix(x,z,mode,der)
        sf2 = np.exp(self.hyp[0])                     # scale parameter
        if der == 0:                                  # compute derivative w.r.t. sf2
            A = 2. * sf2 * self.cov.getCovMatrix(x,z,mode)
        else:
            A = sf2 * self.cov.getDerMatrix(x,z,mode,der-1)
        return A
dataset/ETHPy150Open marionmari/pyGPs/pyGPs/Core/cov.py/ScaleOfKernel.getDerMatrix/original