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

Function pack2

cvx/misc.go:1322–1349  ·  view source on GitHub ↗

In-place version of pack(), which also accepts matrix arguments x. The columns of x are elements of S, with the 's' components stored in unpacked storage. On return, the 's' components are stored in packed storage and the off-diagonal entries are scaled by sqrt(2).

(x *matrix.FloatMatrix, dims *sets.DimensionSet, mnl int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

kktQrFunction · 0.85
kktCholFunction · 0.85

Calls 6

SetRowMethod · 0.80
ColsMethod · 0.65
ScaleMethod · 0.65
AtMethod · 0.45
SumMethod · 0.45
GetRowMethod · 0.45

Tested by

no test coverage detected