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

Function MVUpdateDiag

matops/diag.go:140–163  ·  view source on GitHub ↗

* * Generic rank update of diagonal matrix. * diag(D) = diag(D) + alpha * x * y.T * * Arguments: * D N element column or row vector or N-by-N matrix * * x, y N element vectors * * alpha scalar */

(D, x, y *matrix.FloatMatrix, alpha float64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

unblkBoundedLowerLDLFunction · 0.85

Calls 7

GetIndexMethod · 0.95
SetIndexMethod · 0.95
isVectorFunction · 0.85
DiagMethod · 0.80
RowsMethod · 0.65
ColsMethod · 0.65
NumElementsMethod · 0.65

Tested by

no test coverage detected