/dports/math/singular/Singular-Release-4-2-1/libpolys/polys/ |
H A D | clapconv.cc | 225 p_GetCoeff(term, r->cf->extRing)=(number) z; in convRecAP_R() 242 term = n_Int( p_GetCoeff( p, r->cf->extRing ), r->cf->extRing->cf ); in convSingAFactoryA() 246 if ( SR_HDL(p_GetCoeff( p, r->cf->extRing )) & SR_INT ) in convSingAFactoryA() 247 term = SR_TO_INT(p_GetCoeff( p, r->cf->extRing )) ; in convSingAFactoryA() 250 if ( p_GetCoeff( p, r->cf->extRing )->s == 3 ) in convSingAFactoryA() 253 mpz_init_set( dummy, (p_GetCoeff( p,r->cf->extRing )->z) ); in convSingAFactoryA() 261 mpz_init_set( num, (p_GetCoeff( p, r->cf->extRing )->z) ); in convSingAFactoryA() 262 mpz_init_set( den, (p_GetCoeff( p, r->cf->extRing )->n) ); in convSingAFactoryA() 333 if (DEN ((fraction)p_GetCoeff(p,r)) != NULL) in convSingTrPFactoryP() 356 n_Normalize(p_GetCoeff(p, r), r->cf); in convSingTrP() [all …]
|
H A D | kbuckets.cc | 294 number coef=p_GetCoeff(lm,bucket->bucket_ring); in kBucketMergeLm() 857 number orig_coef=p_GetCoeff(bucket->coef[i],r); in kBucket_Plus_mm_Mult_pp() 860 number add_coef=n_Copy(p_GetCoeff(m,r),r); in kBucket_Plus_mm_Mult_pp() 878 number backup=p_GetCoeff(m,r); in kBucket_Plus_mm_Mult_pp() 911 number swap_n=p_GetCoeff(m,r); in kBucket_Plus_mm_Mult_pp() 932 number orig_coef=p_GetCoeff(bucket->coef[i],r); in kBucket_Plus_mm_Mult_pp() 1170 coef=p_GetCoeff(a1,r); in kBucketPolyRed() 1326 && (nIsPseudoUnit(p_GetCoeff(bucket->coef[i],r),r))) in kBucketSimpleContent() 1371 number lc=p_GetCoeff(bucket->coef[i],r); in kBucketSimpleContent() 1373 assume(!(n_IsZero(p_GetCoeff(bucket->coef[i],r),r))); in kBucketSimpleContent() [all …]
|
H A D | prCopyTemplate.cc | 27 p_SetCoeff0(dest, PR_NCOPY(p_GetCoeff(p, r_src), r_src), r_dest); in PR_NAME()
|
H A D | test.cc | 181 number ii = p_GetCoeff(i, r); in TestSum() 196 TS_ASSERT( n_IsZeroDivisor(p_GetCoeff(d, r), r->cf) ); in TestSum()
|
/dports/math/singular/Singular-Release-4-2-1/Singular/dyn_modules/gfanlib/ |
H A D | ppinitialReduction.cc | 23 number commonGcd = n_Copy(p_GetCoeff(g,r),r->cf); in divideByCommonGcd() 37 number oldCoeff = p_GetCoeff(gCache,r); in divideByCommonGcd() 72 coeff = n_Mult(p_GetCoeff(toBeChecked,r),pPower,r->cf); in pReduce() 79 if (n_DivBy(p_GetCoeff(toBeChecked,r),p,r->cf)) in pReduce() 82 coeff=n_Div(p_GetCoeff(toBeChecked,r),p,r->cf); in pReduce() 157 if (n_DivBy(p_GetCoeff(toBeChecked,r),p,r->cf)) in pReduceInhomogeneous() 160 coeff=n_Div(p_GetCoeff(toBeChecked,r),p,r->cf); in pReduceInhomogeneous() 199 if (g==NULL || n_DivBy(p_GetCoeff(g,r),p,r->cf)) in ptNormalize() 214 number gcd = n_ExtGcd(p_GetCoeff(g,r),p,&a,&b,r->cf); in ptNormalize() 268 number c = p_GetCoeff(I->m[i],r); in pReduce() [all …]
|
H A D | containsMonomial.cc | 95 if (g!=NULL && pNext(g)==NULL && n_IsUnit(p_GetCoeff(g,r),r->cf)) in searchForMonomialViaStepwiseSaturation() 180 if (g!=NULL && pNext(g)==NULL && n_IsUnit(p_GetCoeff(g,rGraded),rGraded->cf)) in searchForMonomialViaStepwiseSaturation()
|
/dports/math/singular/Singular-Release-4-2-1/libpolys/polys/ext_fields/ |
H A D | transext.cc | 427 c = p_GetCoeff(p, ntRing); in handleNestedFractionsOverQ() 436 c = p_GetCoeff(p, ntRing); in handleNestedFractionsOverQ() 457 c = p_GetCoeff(p, ntRing); in handleNestedFractionsOverQ() 466 c = p_GetCoeff(p, ntRing); in handleNestedFractionsOverQ() 825 number aNumCoeff = p_GetCoeff(NUM(fa), ntRing); in ntGreater() 830 aDenCoeff=p_GetCoeff(DEN(fa),ntRing); in ntGreater() 834 number bNumCoeff = p_GetCoeff(NUM(fb), ntRing); in ntGreater() 839 bDenCoeff=p_GetCoeff(DEN(fb),ntRing); in ntGreater() 1473 && n_IsOne(p_GetCoeff(pGcd, ntRing), ntCoeffs) in definiteGcdCancellation() 1482 number d=p_GetCoeff (DEN(f),ntRing); in definiteGcdCancellation() [all …]
|
H A D | algext.cc | 126 number lc = p_GetCoeff(p, r); in p_Monic() 133 number n = n_Mult(p_GetCoeff(p, r), lcInverse, r->cf); in p_Monic() 190 p_SetCoeff(pFactor, n_Invers(p_GetCoeff(p, r), r->cf), r); in p_ExtGcdHelper() 320 return n_IsOne(p_GetCoeff(aAsPoly, naRing), naCoeffs); in naIsOne() 328 return n_IsMOne(p_GetCoeff(aAsPoly, naRing), naCoeffs); in naIsMOne() 354 return n_Int(p_GetCoeff(aAsPoly, naRing), naCoeffs); in naInt() 382 if (n_GreaterZero(p_GetCoeff((poly)a, naRing), naCoeffs)) return TRUE; in naGreaterZero()
|
/dports/math/singular/Singular-Release-4-2-1/libpolys/polys/nc/ |
H A D | ncSAMult.cc | 69 pResult = __pp_Mult_nn(p, p_GetCoeff(m,r),r); in ggnc_pp_Mult_mm() 79 pResult = __p_Mult_nn(pResult, p_GetCoeff(m, r), r); in ggnc_pp_Mult_mm() 118 pResult = __p_Mult_nn(p, p_GetCoeff(m,r),r); in ggnc_p_Mult_mm() 128 pResult = __p_Mult_nn(pResult, p_GetCoeff(m, r), r); in ggnc_p_Mult_mm() 169 pResult = __p_Mult_nn(p, p_GetCoeff(m,r),r); in ggnc_p_mm_Mult() 179 pResult = __p_Mult_nn(pResult, p_GetCoeff(m, r), r); in ggnc_p_mm_Mult() 217 pResult = __pp_Mult_nn(p, p_GetCoeff(m,r),r); in ggnc_pp_mm_Mult() 227 pResult = __p_Mult_nn(pResult, p_GetCoeff(m, r), r); in ggnc_pp_mm_Mult() 802 const number q = p_GetCoeff(GetC(r, i, j), r); in AnalyzePair() 811 const number g = p_GetCoeff(d, r); in AnalyzePair()
|
H A D | sca.cc | 174 number nCoeffM = p_GetCoeff(pMonomM, rRing); // no new copy! should be deleted! in sca_m_Mult_mm() 179 const number nCoeffMM = p_GetCoeff(pMonomMM, rRing); // no new copy! in sca_m_Mult_mm() 238 number nCoeffM = p_GetCoeff(pMonomM, rRing); // no new copy! should be deleted! in sca_mm_Mult_m() 243 const number nCoeffMM = p_GetCoeff(pMonomMM, rRing); // no new copy! in sca_mm_Mult_m() 306 const number nCoeff1 = p_GetCoeff(pMonom1, rRing); // no new copy! in sca_mm_Mult_mm() 307 const number nCoeff2 = p_GetCoeff(pMonom2, rRing); // no new copy! in sca_mm_Mult_mm() 995 number c = p_GetCoeff(MATELEM(C,i,j), rBase); in sca_SetupQuotient() 1031 number c = p_GetCoeff(MATELEM(C,i,j), rBase); in sca_SetupQuotient()
|
H A D | old.gring.cc | 321 cM=p_GetCoeff(m,r); in gnc_p_Mult_mm_Common() 1364 number C = p_GetCoeff(N, r); in gnc_ReduceSpolyOld() 1365 number cF = p_GetCoeff(p2, r); in gnc_ReduceSpolyOld() 1424 number C = p_GetCoeff(N, r); in gnc_ReduceSpolyNew() 1425 number cF = p_GetCoeff(p2, r); in gnc_ReduceSpolyNew() 1509 number C1 = p_GetCoeff(M1,r); in gnc_CreateSpolyOld() 1511 number C2 = p_GetCoeff(M2,r); in gnc_CreateSpolyOld() 1844 number cQ=p_GetCoeff(Q,r); 1854 number C=p_GetCoeff(M,r); 2124 pp=__p_Mult_nn(pp,p_GetCoeff(b, r),r); in nc_PolyPolyRedOld() [all …]
|
H A D | ncSAFormula.cc | 116 const number q = p_GetCoeff(GetC(r, i, j), r); in AreCommutingVariables() 671 const number q = p_GetCoeff(GetC(r, i, j), r); in ncSA_Multiply() 676 const number g = p_GetCoeff(d, r); in ncSA_Multiply()
|
H A D | ncSAMult.h | 52 poly result = p_Mult_nn(MultiplyME(pMonom, expRight), p_GetCoeff(pTerm, r), r); in MultiplyTE() 66 poly result = p_Mult_nn(MultiplyEM(expLeft, pMonom), p_GetCoeff(pTerm, r), r); in MultiplyET()
|
/dports/math/singular/Singular-Release-4-2-1/kernel/ |
H A D | fast_mult.cc | 439 y = p_GetCoeff(p,r); in p_MonMultMB() 460 x = n_Mult(p_GetCoeff(p,r),p_GetCoeff(q,r),r->cf); in p_MonMultCMB() 471 if(!n_IsOne(p_GetCoeff(p,r),r->cf)) 474 y = p_GetCoeff(p,r);
|
H A D | digitech.cc | 71 kBucket_Add_q(erg_bucket,p_Mult_nn(potences[d],p_GetCoeff(p,r),r),&pseudo_len); in uni_subst_bits()
|
/dports/math/singular/Singular-Release-4-2-1/kernel/GBEngine/ |
H A D | kChinese.cc | 124 s=send_number(s,p_GetCoeff(m,r)); in send_mon() 133 s=get_number(s,&p_GetCoeff(*m,r)); in get_mon() 141 long ll=size_number(p_GetCoeff(m,r)); in size_mon()
|
H A D | ratgring.cc | 139 number ck1 = p_GetCoeff(K1,r); in ncGCD2() 140 number ck2 = p_GetCoeff(K2,r); in ncGCD2()
|
H A D | tgb_internal.h | 597 assume(npIsOne(p_GetCoeff(term,currRing),currRing->cf)); in insert() 752 res_holder.coef=p_GetCoeff(t,c->r); in noro_red_mon_to_non_poly() 763 number coef_bak=p_GetCoeff(t,c->r); in noro_red_mon_to_non_poly() 766 assume(npIsOne(p_GetCoeff(c->strat->S[i],c->r),c->r->cf)); in noro_red_mon_to_non_poly() 767 number coefstrat=p_GetCoeff(c->strat->S[i],c->r); in noro_red_mon_to_non_poly() 791 number coef_bak=p_GetCoeff(t,c->r); in noro_red_mon_to_non_poly() 1459 number coef=p_GetCoeff(h,r); in write_poly_to_row()
|
H A D | tgb.cc | 1377 int c1 = slim_nsize (p_GetCoeff (c->S->m[i], c->r), c->r); in pair_weighted_length() 2245 a[idx] = p_GetCoeff (p, currRing); in evaluateRows() 2268 row->coef_array[i] = p_GetCoeff (p, currRing); in evaluateRows() 2450 res_holder.coef = p_GetCoeff (t, c->r); in noro_red_mon() 2478 res_holder.coef = p_GetCoeff (t, c->r); in noro_red_mon() 2493 number coef_bak = p_GetCoeff (t, c->r); in noro_red_mon() 2496 assume (npIsOne (p_GetCoeff (c->strat->S[i], c->r))); in noro_red_mon() 2497 number coefstrat = p_GetCoeff (c->strat->S[i], c->r); in noro_red_mon() 2526 number coef_bak = p_GetCoeff (t, c->r); in noro_red_mon() 2581 number coef_debug = p_GetCoeff (t, currRing); in noro_red_non_unique() [all …]
|
H A D | syz4.cc | 143 number n = n_Div(p_GetCoeff(multiplier, r), p_GetCoeff(v[i].lt, r), r); in find_reducer() 144 n_InpMult(n, p_GetCoeff(t, r), r); in find_reducer()
|
/dports/math/singular/Singular-Release-4-2-1/libpolys/polys/monomials/ |
H A D | p_polys.cc | 1682 n_New(&(p_GetCoeff(m, r)), r); in p_LcmRat() 1714 p_SetCoeff(res,n_Copy(p_GetCoeff(p,r),r),r); in p_GetCoeffRat() 1720 p_SetCoeff(s,n_Copy(p_GetCoeff(q,r),r),r); in p_GetCoeffRat() 1863 number divisorLC = p_GetCoeff(divisor, r); in p_PolyDiv() 3237 h = p_GetCoeff(p, C); in p_ProjectiveUnique() 3259 h= p_GetCoeff (p, C); in p_ProjectiveUnique() 4237 number c = p_GetCoeff(qq, dst); in p_PermPoly() 4296 number n = p_GetCoeff(qq, dst); in p_PermPoly() 4298 p_GetCoeff(qq, dst) = n; in p_PermPoly() 4546 if (! n_Equal(p_GetCoeff(p1,r), p_GetCoeff(p2,r),r->cf )) in p_EqualPolys() [all …]
|
H A D | p_polys.h | 1586 if(p_GetCoeff(p,r) == NULL || p_GetCoeff(q,r) == NULL) in p_LtCmp() 1588 number pc = n_Copy(p_GetCoeff(p,r),r->cf); in p_LtCmp() 1589 number qc = n_Copy(p_GetCoeff(q,r),r->cf); in p_LtCmp() 1612 if(p_GetCoeff(p,r) == NULL || p_GetCoeff(q,r) == NULL) in p_LtCmpNoAbs() 1614 number pc = p_GetCoeff(p,r); in p_LtCmpNoAbs() 1615 number qc = p_GetCoeff(q,r); in p_LtCmpNoAbs() 1983 return (p_IsConstant(p, R) && n_IsOne(p_GetCoeff(p, R), R->cf)); in p_IsOne()
|
H A D | monomials.h | 50 #define p_GetCoeff(p,r) pGetCoeff(p) macro
|
H A D | maps.cc | 441 number product = n_Mult(p_GetCoeff(p, r), one, C); in p_MinPolyNormalize()
|
/dports/math/singular/Singular-Release-4-2-1/standalone.test/ |
H A D | test.cc | 88 number s = p_GetCoeff(p, R); in Test()
|