Closed carterbox closed 4 years ago
Hello @carterbox! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
There are currently no PEP 8 issues detected in this Pull Request. Cheers! :beers:
# Perhaps this should be an inner product
# which means one of the vectors should be conjugated?
A[i, j] = np.sum(x[i] * x[j])
A[j, i] = A[i, j]
yes, one should be conjugate
for order in np.argsort(-values):
x_sorted[order] = x_new[order]
indices are wrong
Thanks, @nikitinvv! 🎉
Purpose
Provide some Python probe initialization and orthogonalization routines that the Swiss are using in their MATLAB code.
Pre-Merge Checklists
Submitter
yapf
to format python code.Reviewer