| 21 | }; |
| 22 | |
| 23 | static inline number2 n2Init(long i, coeffs c) |
| 24 | { number2 N=(number2)omAlloc0(sizeof(snumber2)); if (c!=NULL) { N->cf=c; N->n=n_Init(i,c);} return N;} |
| 25 | |
| 26 | static inline poly2 p2Init(long i, ring c) |
| 27 | { poly2 N=(poly2)omAlloc0(sizeof(spoly2)); if (c!=NULL) { N->cf=c; N->n=p_ISet(i,c);} return N;} |
no test coverage detected