elif cone_type == 1:
return random_icecream_game()
+
def random_ll_orthant_game():
"""
Return a random Lyapunov game over some nonnegative orthant.
return G
+def random_ll_game():
+ """
+ Return a random Lyapunov-like game.
+
+ One of the functions,
+
+ 1. :func:`random_ll_orthant_game`
+ 2. :func:`random_ll_icecream_game`
+
+ is chosen at random and used to generate a random game.
+
+ Returns
+ -------
+
+ SymmetricLinearGame
+ A random Lyapunov-like game.
+
+ Examples
+ --------
+
+ >>> random_ll_game()
+ <dunshire.games.SymmetricLinearGame object at 0x...>
+
+ """
+ cone_type = randint(0,1)
+ if cone_type == 0:
+ return random_ll_orthant_game()
+ elif cone_type == 1:
+ return random_ll_icecream_game()
+
+
def random_positive_orthant_game():
"""
Return a random game over the nonnegative orthant with a positive