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

Function Mivdp

Singular/walk.cc:1008–1018  ·  view source on GitHub ↗

* return intvec = (1, ..., 1) * *******************************/

Source from the content-addressed store, hash-verified

1006 * return intvec = (1, ..., 1) *
1007 *******************************/
1008intvec* Mivdp(int nR)
1009{
1010 int i;
1011 intvec* ivm = new intvec(nR);
1012
1013 for(i=nR-1; i>=0; i--)
1014 {
1015 (*ivm)[i] = 1;
1016 }
1017 return ivm;
1018}
1019
1020/**********************************
1021 * return intvvec = (1,0, ..., 0) *

Callers 5

jjSYSTEMFunction · 0.85
MPertVectorsFunction · 0.85
MPertVectorslpFunction · 0.85
MfpertvectorFunction · 0.85
RepresentationMatrix_DpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected