-
-
Notifications
You must be signed in to change notification settings - Fork 814
feat: add lapack/base/dpoequ
#2785
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
smin = S[ offsetS ]; | ||
amax[ offsetAM ] = S[ offsetS ]; | ||
for ( i = 1; i < N; i++ ) { | ||
S[ offsetS + ( i * strideS ) ] = A[ offsetA + ( i * strideA1 ) + ( i * strideA2 ) ]; |
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.
Same comments, as elsewhere, regarding unnecessary flops.
t.end(); | ||
}); | ||
|
||
tape( 'the function supports accessing elements from non-contiguous arrangement of rows and columns and in different order', 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.
@Pranavchiku You need to provide more systematic and thorough tests, similar to what is common practice for existing BLAS and LAPACK routines in stdlib
.
|
||
return benchmark; | ||
|
||
function benchmark( b ) { |
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.
Missing JSDoc.
|
||
The function has the following parameters: | ||
|
||
- **N**: order of matrix. |
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.
Description is wrong.
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.
Or I suppose by "order", you mean the number of elements along each dimension of a square matrix A
.
* Computes row and column scalings intended to equilibrate a symmetric positive definite matrix `A`. | ||
* | ||
* @private | ||
* @param {NonNegativeInteger} N - order of matrix |
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.
Should change the description from order of matrix
to the more descriptive "number of elements along each dimension of A
".
Towards #2464.
Description
This pull request adds JS implementation for
lapack/base/dpoequ
.Related Issues
NA
Questions
No.
Other
No.
Checklist
@stdlib-js/reviewers