MCPcopy Index your code
hub / github.com/andeya/algorithm / Add

Method Add

matrix/dense_math.go:94–111  ·  view source on GitHub ↗

Compute in-place A += alpha for all elements in the matrix if list of indexes is empty. Otherwise compute A[i] += alpha for indexes in column-major order.

(alpha float64, indexes ...int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

unblockedLUpivFunction · 0.95
_TestPartition1DhFunction · 0.95
_TestPartition2DFunction · 0.95
F1Method · 0.95
F2Method · 0.95
coneqp_solverFunction · 0.95

Calls 4

realIndexFunction · 0.85
RowsMethod · 0.65
LeadingIndexMethod · 0.65
NumElementsMethod · 0.65

Tested by 2

_TestPartition1DhFunction · 0.76
_TestPartition2DFunction · 0.76