-
-
Notifications
You must be signed in to change notification settings - Fork 814
feat: add lapack/base/dlae2
#2824
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
base: develop
Are you sure you want to change the base?
Conversation
lib/node_modules/@stdlib/lapack/base/dlae2/benchmark/benchmark.js
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/lapack/base/dlae2/benchmark/benchmark.ndarray.js
Outdated
Show resolved
Hide resolved
var expected; | ||
var out; | ||
|
||
out = new Float64Array( 2 ); |
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.
And just checking: do the various test cases below ensure 100% code coverage?
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.
Let me check, I have not checked yet.
t.end(); | ||
}); | ||
|
||
tape( 'the function supports complex access pattern to store computed values', function test( t ) { |
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.
For tests, always test to the interface, not the implementation. Here, you're doing the latter, taking shortcuts because you know that various accuracy tests are in test.dlae.js
. Don't do that. When testing to the interface, you must assume that behind the interface is a separate, independent implementation. That means writing tests which share similarities with other tests for similar interfaces.
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.
Left a first round of comments.
Looks like the tests still need to be updated. |
Towards #2464.
Description
This pull request adds JS implementation for
lapack/base/dlae2
Related Issues
NA
Questions
No.
Other
No.
Checklist
@stdlib-js/reviewers