-
-
Notifications
You must be signed in to change notification settings - Fork 805
feat: add lapack/base/dpttrf
#2578
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
Conversation
lib/node_modules/@stdlib/lapack/base/dpttrf/benchmark/benchmark.js
Outdated
Show resolved
Hide resolved
…/Pranavchiku/2578
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for working on this, @Pranavchiku.
I did a fair amount of clean-up, especially in tightening up the implementation by reducing the number of arithmetic operations and in adding test cases. For this package, you were light on tests, especially in ensuring that status code return values were handled correctly. You had incorrectly had k
be based on the underlying buffer index (e.g., offsetD + (i*strideD)
), rather than the view index, which is what would make sense from a user POV and ensures consistent status code values between the two APIs and ensures consistency with the LAPACK docs where info
corresponds to the principal minor of order k
. Allowing k
to exceed N
simply doesn't make sense.
PR-URL: stdlib-js#2578 Ref: stdlib-js#2464 Co-authored-by: Athan Reines <[email protected]> Reviewed-by: Athan Reines <[email protected]>
Towards #2464.
Description
This pull request adds JS implementation for
lapack/base/dpttrf
.Related Issues
No.
Questions
No.
Other
No.
Checklist
@stdlib-js/reviewers