8000 feat: add `blas/base/dsyrk` by ShabiShett07 · Pull Request #7412 · stdlib-js/stdlib · GitHub
[go: up one dir, main page]

Skip to content

feat: add blas/base/dsyrk #7412

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

Draft
wants to merge 7 commits into
base: develop
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: minor clean-up
Signed-off-by: Shabareesh Shetty <139731143+ShabiShett07@users.noreply.github.com>
  • Loading branch information
ShabiShett07 authored Jun 20, 2025
commit a5452add20fc4d6e103de5e1dc42beb1fc783b3e
7 changes: 3 additions & 4 deletions lib/node_modules/@stdlib/blas/base/dsyrk/examples/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,12 @@ var opts = {
};

var N = 4;
var K = 3;

var A = discreteUniform( N*N, 0, 10, opts ); // 4x4
var C = discreteUniform( N*K, 0, 10, opts ); // 4x3
var C = discreteUniform( N*N, 0, 10, opts ); // 4x4

dsyrk( 'row-major', 'lower', 'no-transpose', N, K, 1.0, A, N, 1.0, C, N );
dsyrk( 'row-major', 'lower', 'no-transpose', N, N, 1.0, A, N, 1.0, C, N );
console.log( C );

dsyrk.ndarray( 'lower', 'no-transpose', N, K, 1.0, A, N, 1, 0, 1.0, C, N, 1, 0 );
dsyrk.ndarray( 'lower', 'no-transpose', N, N, 1.0, A, N, 1, 0, 1.0, C, N, 1, 0 );
console.log( C );
Loading
0