Skip to content
Snippets Groups Projects
Commit 51b550f1 authored by Martin Bauer's avatar Martin Bauer
Browse files

Wolf Gladrow equilibirum construction

parent 350bb4d5
No related merge requests found
...@@ -16,6 +16,10 @@ def allIn(a, b): ...@@ -16,6 +16,10 @@ def allIn(a, b):
return all(element in b for element in a) 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): def normalizeProduct(product):
""" """
Expects a sympy expression that can be interpreted as a product and Expects a sympy expression that can be interpreted as a product and
......
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