Commit 51b550f1 authored by Martin Bauer's avatar Martin Bauer
Browse files

Wolf Gladrow equilibirum construction

parent 350bb4d5
......@@ -16,6 +16,10 @@ def allIn(a, b):
return all(element in b for element in a)
def scalarProduct(a, b):
return sum(a_i * b_i for a_i, b_i in zip(a, b))
def normalizeProduct(product):
"""
Expects a sympy expression that can be interpreted as a product and
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment