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

Function jnrm2

cvx/misc.go:1412–1423  ·  view source on GitHub ↗

* Returns sqrt(x' * J * x) where J = [1, 0; 0, -I], for a vector x in a second order cone. */

(x *matrix.FloatMatrix, n, offset int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

scale2Function · 0.85
updateScalingFunction · 0.85
computeScalingFunction · 0.85

Calls 3

NumElementsMethod · 0.65
GetIndexMethod · 0.45
SqrtMethod · 0.45

Tested by

no test coverage detected