
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
ndarray-blas-gemv
Advanced tools
BLAS Level 2 GEMV (matrix-vector multiply) for ndarrays
gemv( alpha, A, x, beta, y )Calculate y <- alpha * A * x + beta * y for scalar alpha, matrix A, vector x, scalar beta, and vector y. Result is overwritten in vector y. All other inputs are unchanged.
var gemv = require('ndarray-blas-gemv')
var A = ndarray([1,2,5,3], [2,2]),
x = ndarray([-4,7]),
y = ndarray([3,-2])
gemv( -4, A, x, 2, y )
// Result: y = [-34, -8]
To multiply using the transpose of A, you can simply use .transpose(1,0) to transpose the input (note that this calculates new strides and offsets but does not rearrange the physical memory).
var A = ndarray([1,2,5,3], [2,2]),
x = ndarray([-4,7]),
y = ndarray([3,-2])
gemv( -4, A.transpose(1,0), x, 2, y )
// Result: y = [-118, -56]
(c) 2015 Ricky Reusser. MIT License
FAQs
BLAS Level 2 GEMV (Matrix-Vector multiply) for ndarrays
We found that ndarray-blas-gemv demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.