Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TODOs + Corrections #1

Merged
merged 1 commit into from
Jun 21, 2021
Merged

TODOs + Corrections #1

merged 1 commit into from
Jun 21, 2021

Conversation

benjoch
Copy link
Collaborator

@benjoch benjoch commented Jun 21, 2021

TODOs:

  • h function seems to match MATLAB functionality. Also tried multiple examples and the results matched. colSums not needed
  • ' operator in MATLAB computes the complex conjugate transpose so Conj() calls are necessary for any matrix with complex number entries.
  • svds replacement matches MATLAB functionality exactly. Also tried multiple examples and the results matched.

Corrections:

  • line 90: added min_step if statement to match MATLAB code in line 90
    -line 153: to match MATLAB code in line 154

- h function seems to match MATLAB functionality. Also tried multiple examples and the results matched. colSums not needed
- ' operator in MATLAB computes the complex conjugate transpose so Conj() calls are necessary for any matrix with complex number entries.
- svds replacement matches MATLAB functionality exactly. Also tried multiple examples and the results matched.

Corrections:
- line 90: added min_step if statement to match MATLAB code in line 90
-line 153: to match MATLAB code in line 154
Copy link
Owner

@thisjustinh thisjustinh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for catching those errors. Big thanks for checking against MATLAB code.

@thisjustinh thisjustinh merged commit 8126d95 into dev Jun 21, 2021
@thisjustinh thisjustinh deleted the benjoch-patch-1 branch June 21, 2021 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants