str(self._K),
indented_e1,
indented_e2,
- self._condition())
+ self.condition())
def _zero(self):
return Solution(p1_value, p1_optimal, p2_optimal)
- def _condition(self):
+ def condition(self):
r"""
Return the condition number of this game.
>>> e1 = [1]
>>> e2 = e1
>>> SLG = SymmetricLinearGame(L, K, e1, e2)
- >>> actual = SLG._condition()
+ >>> actual = SLG.condition()
>>> expected = 1.8090169943749477
>>> abs(actual - expected) < options.ABS_TOL
True