Clarify eigensolver documentation
This commit is contained in:
parent
17fa2aa3d3
commit
001bf1e2ef
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ def solve_waveguide_mode_2d(mode_number: int,
|
||||||
|
|
||||||
'''
|
'''
|
||||||
Shift by the absolute value of the largest eigenvalue, then find a few of the
|
Shift by the absolute value of the largest eigenvalue, then find a few of the
|
||||||
largest (shifted) eigenvalues. The shift ensures that we find the largest
|
largest-magnitude (shifted) eigenvalues. The shift ensures that we find the largest
|
||||||
_positive_ eigenvalues, since any negative eigenvalues will be shifted to the range
|
_positive_ eigenvalues, since any negative eigenvalues will be shifted to the range
|
||||||
0 >= neg_eigval + abs(lm_eigval) > abs(lm_eigval)
|
0 >= neg_eigval + abs(lm_eigval) > abs(lm_eigval)
|
||||||
'''
|
'''
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue