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

Function EltCreateMat

Singular/dyn_modules/Order/nforder_elt.cc:36–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36number EltCreateMat(nforder *a, bigintmat *b)
37{
38 number xx;
39 if (b->rows()==1) {
40 assume(b->cols()==a->getDim());
41 xx = (number) b->transpose();
42 } else {
43 assume(b->rows() == a->getDim());
44 assume(b->cols() == 1);
45 xx = (number) new bigintmat((bigintmat*)b);
46 }
47// Print("Created new element %lx from %lx\n", xx, b);
48 return (number) xx;
49}
50
51
52static BOOLEAN order_cmp(coeffs n, n_coeffType t, void*parameter)

Callers 2

elt_from_matFunction · 0.85
EltCopyFunction · 0.85

Calls 4

rowsMethod · 0.80
colsMethod · 0.80
getDimMethod · 0.80
transposeMethod · 0.80

Tested by

no test coverage detected