

def linearize(self, params, unknowns, resids):
    'Analytical derivatives.'
    J = {
        
    }
    J[('y', 'x')] = 3.0
    if self.print_output:
        print('Calculate Derivatives:', self.name)
    return J

dataset/ETHPy150Open OpenMDAO/OpenMDAO/examples/fd_comp_example.py SimpleComp.linearize/original