-
-
Notifications
You must be signed in to change notification settings - Fork 489
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/dtrti2
#2754
base: develop
Are you sure you want to change the base?
Conversation
The latest commit considers |
if ( upper ) { | ||
for ( j = 0; j < N; j++ ) { | ||
if ( nounit ) { | ||
A[ offsetA + ( j * strideA1 ) + ( j * strideA2 ) ] = 1.0 / A[ offsetA + ( j * strideA1 ) + ( j * 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.
Refactor to reduce flops.
} | ||
}); | ||
|
||
tape( 'the function correctly computes inverse of upper triangular non-unit matrix ( row-major )', 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.
tape( 'the function correctly computes inverse of upper triangular non-unit matrix ( row-major )', function test( t ) { | |
tape( 'the function correctly computes inverse of upper triangular non-unit matrix (row-major)', function test( t ) { |
Remove spaces here and in other test descriptions.
t.end(); | ||
}); | ||
|
||
tape( 'the function correctly computes inverse of lower triangular non-unit rectangular matrix ( row-major )', 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.
In your descriptions, parameterize to help distinguish. For example, row-major, lower, non-unit
. Applies here and elsewhere.
} | ||
}); | ||
|
||
tape( 'the function supports accessing elements from non-contiguous alignment of row and column ( row-major )', 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.
Refactor to include more systematic tests. Test to the interface, not the implementation.
Towards #2464.
Description
This pull request adds JS implementation for
lapack/base/dtrti2
Related Issues
NA
Questions
No.
Other
No.
Checklist
@stdlib-js/reviewers