Skip to content

Address remaining comments from #30#165

Merged
inducer merged 6 commits intoinducer:mainfrom
alexfikl:ds-fixes
Jul 7, 2022
Merged

Address remaining comments from #30#165
inducer merged 6 commits intoinducer:mainfrom
alexfikl:ds-fixes

Conversation

@alexfikl
Copy link
Collaborator

@alexfikl alexfikl commented Jul 1, 2022

This just adds docs and comments and some types here and there following the review from #30.

There is one actual change: L and R are changed from (nclusters, ncluster) object arrays to just (nclusters,) since they are block diagonal anyways. Not sure why I made them 2D arrays in the first place..

Copy link
Owner

@inducer inducer left a comment

Choose a reason for hiding this comment

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

Thanks for following up! This actually makes a great big difference in how easy to follow I find that code. A few things below, good to go once those are addressed.

Comment on lines 373 to 374
:arg ord: the type of the matrix norm used to compute errors, as described
in :func:`numpy.linalg.norm`.
Copy link
Owner

Choose a reason for hiding this comment

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

State that this identifies the norm $|\cdot|$ used above.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@alexfikl alexfikl force-pushed the ds-fixes branch 2 times, most recently from 0617bda to 2e89712 Compare July 7, 2022 13:40
@inducer inducer enabled auto-merge (rebase) July 7, 2022 15:19
@inducer inducer merged commit a54676b into inducer:main Jul 7, 2022
@alexfikl alexfikl deleted the ds-fixes branch July 7, 2022 16:30
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.

2 participants