Name: ndarray-blas-dger
Owner: scijs
Description: BLAS Level 2 DEGR for ndarrays
Created: 2015-06-15 20:30:41.0
Updated: 2018-02-20 12:56:25.0
Pushed: 2015-06-16 17:43:03.0
Homepage: null
Size: 92
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
BLAS Level 2 DGER for ndarrays
dger( alpha, A, x, y )
Performs the rank 1 operation A <- alpha * x * yT + A
for scalar alpha, m element vector x, n element vector y and m x n element matrix A.
Result is overwritten in matrix A. All other inputs are unchanged.
dger = require('ndarray-blas-dger')
A = ndarray([1,2,3,4,5,6], [2,2]),
x = ndarray([1,2]),
y = ndarray([3,4,5])
( -4, x, y, A );
esult: A = -11.000 -22.000
-13.000 -28.000
-15.000 -34.000
(c) 2015 Jalmari Raippalinna. MIT License