MCPcopy Create free account
hub / github.com/Singular/Singular / hStepS

Function hStepS

kernel/combinatorics/hutil.cc:949–963  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

947
948
949void hStepS(scfmon stc, int Nstc, varset var, int Nvar, int *a, int *x)
950{
951 int k1, i;
952 int y;
953 k1 = var[Nvar];
954 y = *x;
955 i = *a;
956 loop
957 {
958 if (y < stc[i][k1])
959 {
960 *a = i;
961 *x = stc[i][k1];
962 return;
963 }
964 i++;
965 if (i == Nstc)
966 {

Callers 3

hHilbStepFunction · 0.85
hZeroMultFunction · 0.85
hHedgeStepFunction · 0.85

Calls 1

ifFunction · 0.50

Tested by

no test coverage detected