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

Function MivMatrixOrderdp

Singular/walk.cc:1418–1432  ·  view source on GitHub ↗

* define a reverse lexicographic order (dp) matrix as intvec * *****************************************************************************/

Source from the content-addressed store, hash-verified

1416 * define a reverse lexicographic order (dp) matrix as intvec *
1417 *****************************************************************************/
1418intvec* MivMatrixOrderdp(int nV)
1419{
1420 int i;
1421 intvec* ivM = new intvec(nV*nV);
1422
1423 for(i=0; i<nV; i++)
1424 {
1425 (*ivM)[i] = 1;
1426 }
1427 for(i=1; i<nV; i++)
1428 {
1429 (*ivM)[(i+1)*nV - i] = -1;
1430 }
1431 return(ivM);
1432}
1433
1434/*****************************************************************************
1435 * creates an intvec of the monomial order Wp(ivstart) *

Callers 6

jjSYSTEMFunction · 0.85
MpwalkFunction · 0.85
MprwalkFunction · 0.85
MfwalkFunction · 0.85
MfrwalkFunction · 0.85
MAltwalk1Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected