-
-
Notifications
You must be signed in to change notification settings - Fork 482
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
feat: add lapack/base/dlaqge
#2759
base: develop
Are you sure you want to change the base?
Conversation
} | ||
|
||
thresh = 0.1; | ||
small = 1.0020841800044864E-292; |
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.
small = 1.0020841800044864E-292; | |
// TODO: use `dlamch( 'S' ) / dlamch( 'P' )` once it is merged. | |
small = 1.0020841800044864E-292; |
- **sc**: stride length for `C`. | ||
- **oc**: starting index of `C`. | ||
- **rc**: ratio of the smallest to the largest row scale factor. | ||
- **cc**: ratio of the smallest to the largest column scale factor. |
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 ax
in this list.
return 'N'; | ||
} | ||
|
||
if ( isRowMajor( [ strideA1, 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.
Given that A
is MxN
, you also need to swap the loop limits when performing loop interchange. It isn't enough to simply swap the strides.
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.
I do not remember what I did. IIRC the code is already optimized, sa0
was used internally for both row-major
and column-major
and thus I removed code duplication.
Now that |
Towards #2464.
Description
This pull request adds JS implementation for
lapack/base/dlaqge
.Related Issues
NA
Questions
No.
Other
No.
Checklist
@stdlib-js/reviewers