Commit 35de27bf authored by Christoph Groth's avatar Christoph Groth
Browse files

add clarifying comment to combine_generic

parent cbc1a572
......@@ -346,6 +346,11 @@ def combine_generic(s2, s1, blocks=('r', 't', 'rp', 'tp')):
combining the corresponding transfer matrices m2 and m1 by multiplication:
m2 * m1.
"""
# Note: This function implements Eq. 1.1.10 of Brouwer's thesis (see
# docstring of this module for reference). That equation contains several
# typos. Our version is correct and consistent, as verified by the tests
# in test_sm.py.
assert s1.rp != None
assert s2.r != None
n = s1.rp.shape[0]
......
Supports Markdown
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