def _sys_apply_linear(self, mode, do_apply, vois=(None, ), gs_outputs=None):
        if mode == 'fwd':
            sol_vec, rhs_vec = self.dumat, self.drmat
            for voi in vois:
                rhs_vec[voi].vec[:] = 0.0
        else:
            sol_vec, rhs_vec = self.drmat, self.dumat

        # Note, we solve a slightly modified version of the unified
        # derivatives equations in OpenMDAO.
        # (dR/du) * (du/dr) = -I
        # The minus side on the right hand side comes from defining the
        # explicit residual to be ynew - yold instead of yold - ynew. The
        # advantage of this is that the derivative of an explicit residual is
        # the same sign as the derivative of the explicit unknown. This
        # introduces a minus one here.

        for voi in vois:
            if gs_outputs is None:
                rhs_vec[voi].vec[:] -= sol_vec[voi].vec
            else:
                for var, meta in iteritems(self.dumat[voi]):
                    if var in gs_outputs[voi]:
                        rhs_vec[voi][var] -= sol_vec[voi][var]
Convert size (in bytes) to string.
dataset/ETHPy150Open OpenMDAO/OpenMDAO/openmdao/components/indep_var_comp.py/IndepVarComp._sys_apply_linear--crossover with--dataset/ETHPy150Open openlmi/openlmi-scripts/commands/storage/lmi/scripts/storage/common.py/size2str