def linearize(self, params, unknowns, resids):

        J = {}
        J[('y', 'x')] = 3.0
        if self.print_output:
            print('Calculate Derivatives:', self.name)
        return J
Analytical derivatives.
dataset/ETHPy150Open OpenMDAO/OpenMDAO/examples/fd_comp_example.py/SimpleComp.linearize