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

Function maxStep

cvx/misc.go:1229–1281  ·  view source on GitHub ↗

Returns min {t | x + t*e >= 0}, where e is defined as follows - For the nonlinear and 'l' blocks: e is the vector of ones. - For the 'q' blocks: e is the first unit vector. - For the 's' blocks: e is the identity matrix. When called with the argument sigma, also returns the eigenvalues (in sigma)

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

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

conelp_solverFunction · 0.85
coneqp_solverFunction · 0.85
cpl_solverFunction · 0.85

Calls 7

minvecFunction · 0.85
maxvecFunction · 0.85
CopyMethod · 0.65
SumMethod · 0.45
FloatArrayMethod · 0.45
AtMethod · 0.45
GetIndexMethod · 0.45

Tested by

no test coverage detected