def apply_linear(self, params, unknowns, dparams, dunknowns, dresids,
                     mode):

        if mode == 'fwd':
            dresids[self.out_name] += dparams[self.param_name]

        elif mode == 'rev':
            dparams[self.param_name] += dresids[self.out_name]
Multiplies incoming vector by the Jacobian (fwd mode) or the
dataset/ETHPy150Open OpenMDAO/OpenMDAO/openmdao/components/unit_comp.py/UnitComp.apply_linear