MCPcopy Create free account
hub / github.com/andeya/algorithm / Scale

Method Scale

matrix/dense_math.go:13–30  ·  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 4

unblockedBuildQFunction · 0.95
MultDiagFunction · 0.95
SolveDiagFunction · 0.95
_TestViewUpdateFunction · 0.95

Calls 4

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

Tested by 1

_TestViewUpdateFunction · 0.76