-
-
Notifications
You must be signed in to change notification settings - Fork 578
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 blas/base/csscal
#2169
base: develop
Are you sure you want to change the base?
feat: add blas/base/csscal
#2169
Conversation
If applied, this commit will add the package `blas/base/csscal` which effectively scales a complex single-precision floating-point vector by a real single-precision floating-point constant.
Hello, I have to do some styling changes in the package like spaces before any kind of brackets in the JS implementations and write Some notes:
when i keep stride less than 0 like function csscal( N, alpha, x, strideX, offsetX ) {
var viewX;
offsetX = minViewBufferIndex( N, strideX, offsetX );
if (offsetX < 0) {
return x;
}
viewX = reinterpret( x, offsetX );
addon( N, new Float32Array([alpha]), viewX, strideX );
return x;
}
Edit: For the C lint error, I tried defining ⭐ Since the PR for |
@performant23 Sorry for the long turnaround. PRs for cscal and zscal have now been merged. It is likely worth checking out the final implementations as currently in the develop branch. Updating based on those implementations may help resolve some of the errors you're seeing. |
If applied, this commit will add the package
blas/base/csscal
which effectively scales a complex single-precision floating-point vector by a real single-precision floating-point constant.Description
This pull request:
Related Issues
This pull request:
blas/base/csscal
#2173Questions
No.
Other
No.
Checklist
@stdlib-js/reviewers