def evaluate(self):

        self.R = self.A.dot(self.x) - self.b
compute the residual
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.lib/src/openmdao/lib/components/linear_system.py/LinearSystem.evaluate