/dports/math/e-antic/flint2-ae7ec89/fmpz_mod_poly/ |
H A D | divrem_f.c | 20 fmpz_t invB; in _fmpz_mod_poly_divrem_f() local 22 fmpz_init(invB); in _fmpz_mod_poly_divrem_f() 23 fmpz_gcdinv(f, invB, B + lenB - 1, p); in _fmpz_mod_poly_divrem_f() 30 fmpz_clear(invB); in _fmpz_mod_poly_divrem_f() 41 fmpz_t invB; in fmpz_mod_poly_divrem_f() local 43 fmpz_init(invB); in fmpz_mod_poly_divrem_f() 44 fmpz_gcdinv(f, invB, fmpz_poly_lead(B), &(B->p)); in fmpz_mod_poly_divrem_f() 48 fmpz_clear(invB); in fmpz_mod_poly_divrem_f() 54 fmpz_clear(invB); in fmpz_mod_poly_divrem_f() 63 fmpz_clear(invB); in fmpz_mod_poly_divrem_f() [all …]
|
H A D | divrem_divconquer.c | 23 const fmpz_t invB, const fmpz_t p) in __fmpz_mod_poly_divrem_divconquer() argument 44 invB, p); in __fmpz_mod_poly_divrem_divconquer() 71 A, B, lenB, invB, p); in __fmpz_mod_poly_divrem_divconquer() 81 const fmpz_t invB, const fmpz_t p) in _fmpz_mod_poly_divrem_divconquer() argument 87 __fmpz_mod_poly_divrem_divconquer(Q, W, A, lenA, B, lenB, invB, p); in _fmpz_mod_poly_divrem_divconquer() 107 W, S + shift, B, lenB, invB, p); in _fmpz_mod_poly_divrem_divconquer() 132 fmpz_t invB; in fmpz_mod_poly_divrem_divconquer() local 161 fmpz_init(invB); in fmpz_mod_poly_divrem_divconquer() 162 fmpz_invmod(invB, fmpz_mod_poly_lead(B), &(B->p)); in fmpz_mod_poly_divrem_divconquer() 185 B->coeffs, lenB, invB, &(B->p)); in fmpz_mod_poly_divrem_divconquer() [all …]
|
H A D | rem_basecase.c | 19 const fmpz_t invB, const fmpz_t p) in _fmpz_mod_poly_rem_basecase() argument 38 fmpz_mul(q, W + iR, invB); in _fmpz_mod_poly_rem_basecase() 60 fmpz_t invB; in fmpz_mod_poly_rem_basecase() local 68 fmpz_init(invB); in fmpz_mod_poly_rem_basecase() 69 fmpz_invmod(invB, B->coeffs + (lenB - 1), &(B->p)); in fmpz_mod_poly_rem_basecase() 82 B->coeffs, lenB, invB, &(B->p)); in fmpz_mod_poly_rem_basecase() 95 fmpz_clear(invB); in fmpz_mod_poly_rem_basecase()
|
/dports/math/e-antic/e-antic-1.0.0-rc.13/libeantic/upstream/antic/fmpz_mod_poly/ |
H A D | divrem_f.c | 20 fmpz_t invB; in _fmpz_mod_poly_divrem_f() local 22 fmpz_init(invB); in _fmpz_mod_poly_divrem_f() 23 fmpz_gcdinv(f, invB, B + lenB - 1, p); in _fmpz_mod_poly_divrem_f() 30 fmpz_clear(invB); in _fmpz_mod_poly_divrem_f() 41 fmpz_t invB; in fmpz_mod_poly_divrem_f() local 43 fmpz_init(invB); in fmpz_mod_poly_divrem_f() 44 fmpz_gcdinv(f, invB, fmpz_poly_lead(B), &(B->p)); in fmpz_mod_poly_divrem_f() 48 fmpz_clear(invB); in fmpz_mod_poly_divrem_f() 54 fmpz_clear(invB); in fmpz_mod_poly_divrem_f() 63 fmpz_clear(invB); in fmpz_mod_poly_divrem_f() [all …]
|
H A D | divrem_divconquer.c | 23 const fmpz_t invB, const fmpz_t p) in __fmpz_mod_poly_divrem_divconquer() argument 44 invB, p); in __fmpz_mod_poly_divrem_divconquer() 71 A, B, lenB, invB, p); in __fmpz_mod_poly_divrem_divconquer() 81 const fmpz_t invB, const fmpz_t p) in _fmpz_mod_poly_divrem_divconquer() argument 87 __fmpz_mod_poly_divrem_divconquer(Q, W, A, lenA, B, lenB, invB, p); in _fmpz_mod_poly_divrem_divconquer() 107 W, S + shift, B, lenB, invB, p); in _fmpz_mod_poly_divrem_divconquer() 132 fmpz_t invB; in fmpz_mod_poly_divrem_divconquer() local 161 fmpz_init(invB); in fmpz_mod_poly_divrem_divconquer() 162 fmpz_invmod(invB, fmpz_mod_poly_lead(B), &(B->p)); in fmpz_mod_poly_divrem_divconquer() 185 B->coeffs, lenB, invB, &(B->p)); in fmpz_mod_poly_divrem_divconquer() [all …]
|
H A D | rem_basecase.c | 19 const fmpz_t invB, const fmpz_t p) in _fmpz_mod_poly_rem_basecase() argument 38 fmpz_mul(q, W + iR, invB); in _fmpz_mod_poly_rem_basecase() 60 fmpz_t invB; in fmpz_mod_poly_rem_basecase() local 68 fmpz_init(invB); in fmpz_mod_poly_rem_basecase() 69 fmpz_invmod(invB, B->coeffs + (lenB - 1), &(B->p)); in fmpz_mod_poly_rem_basecase() 82 B->coeffs, lenB, invB, &(B->p)); in fmpz_mod_poly_rem_basecase() 95 fmpz_clear(invB); in fmpz_mod_poly_rem_basecase()
|
/dports/math/flint2/flint-2.8.4/fmpz_mod_poly/ |
H A D | divrem_f.c | 20 fmpz_t invB; in _fmpz_mod_poly_divrem_f() local 22 fmpz_init(invB); in _fmpz_mod_poly_divrem_f() 23 fmpz_gcdinv(f, invB, B + lenB - 1, p); in _fmpz_mod_poly_divrem_f() 27 _fmpz_mod_poly_divrem(Q, R, A, lenA, B, lenB, invB, p); in _fmpz_mod_poly_divrem_f() 30 fmpz_clear(invB); in _fmpz_mod_poly_divrem_f() 42 fmpz_t invB; in fmpz_mod_poly_divrem_f() local 44 fmpz_init(invB); in fmpz_mod_poly_divrem_f() 49 fmpz_clear(invB); in fmpz_mod_poly_divrem_f() 55 fmpz_clear(invB); in fmpz_mod_poly_divrem_f() 64 fmpz_clear(invB); in fmpz_mod_poly_divrem_f() [all …]
|
H A D | divrem_divconquer.c | 23 const fmpz_t invB, const fmpz_t p) in __fmpz_mod_poly_divrem_divconquer() argument 44 invB, p); in __fmpz_mod_poly_divrem_divconquer() 71 A, B, lenB, invB, p); in __fmpz_mod_poly_divrem_divconquer() 81 const fmpz_t invB, const fmpz_t p) in _fmpz_mod_poly_divrem_divconquer() argument 87 __fmpz_mod_poly_divrem_divconquer(Q, W, A, lenA, B, lenB, invB, p); in _fmpz_mod_poly_divrem_divconquer() 107 W, S + shift, B, lenB, invB, p); in _fmpz_mod_poly_divrem_divconquer() 114 __fmpz_mod_poly_divrem_divconquer(Q, W, S, lenA, B, lenB, invB, p); in _fmpz_mod_poly_divrem_divconquer() 133 fmpz_t invB; in fmpz_mod_poly_divrem_divconquer() local 163 fmpz_init(invB); in fmpz_mod_poly_divrem_divconquer() 164 fmpz_invmod(invB, fmpz_mod_poly_lead(B, ctx), fmpz_mod_ctx_modulus(ctx)); in fmpz_mod_poly_divrem_divconquer() [all …]
|
H A D | rem_basecase.c | 19 const fmpz_t invB, const fmpz_t p) in _fmpz_mod_poly_rem_basecase() argument 45 fmpz_mul(q, W + iR, invB); in _fmpz_mod_poly_rem_basecase() 69 fmpz_t invB; in fmpz_mod_poly_rem_basecase() local 77 fmpz_init(invB); in fmpz_mod_poly_rem_basecase() 78 fmpz_invmod(invB, B->coeffs + (lenB - 1), fmpz_mod_ctx_modulus(ctx)); in fmpz_mod_poly_rem_basecase() 91 B->coeffs, lenB, invB, fmpz_mod_ctx_modulus(ctx)); in fmpz_mod_poly_rem_basecase() 104 fmpz_clear(invB); in fmpz_mod_poly_rem_basecase()
|
/dports/math/R-cran-lpSolve/lpSolve/src/ |
H A D | lp_LUSOL.c | 52 lu = lp->invB; in bfp_resize() 132 lu = lp->invB; in bfp_free() 144 lp->invB = NULL; in bfp_free() 153 lu = lp->invB; in bfp_nonzeros() 220 INVrec *invB = lp->invB; in bfp_LUSOLidentity() local 229 LUSOL_loadColumn(invB->LUSOL, rownum, i, invB->value, nz, 0); in bfp_LUSOLidentity() 244 INVrec *invB = lp->invB; in bfp_LUSOLfactorize() local 268 LUSOL_loadColumn(invB->LUSOL, rownum, i, invB->value, nz, 0); in bfp_LUSOLfactorize() 586 lu = lp->invB; in bfp_ftran_normal() 604 lu = lp->invB; in bfp_ftran_prepare() [all …]
|
H A D | lp_BFP1.h | 31 return(lp->invB->status); in bfp_status() 61 return( lp->invB->pcol ); in bfp_pivotvector() 80 return(lp->invB->num_pivots); in bfp_pivotcount() 88 return(lp->invB->num_refact); in bfp_refactcount() 90 return(lp->invB->num_timed_refact); in bfp_refactcount() 92 return(lp->invB->num_dense_refact); in bfp_refactcount() 103 INVrec *lu = lp->invB; in bfp_mustrefactorize() 145 return( (MYBOOL) lp->invB->set_Bidentity ); in bfp_isSetI() 182 INVrec *lu = lp->invB; in bfp_updaterefactstats()
|
/dports/math/lp_solve/lp_solve_5.5/bfp/bfp_LUSOL/ |
H A D | lp_LUSOL.c | 53 lu = lp->invB; in bfp_resize() 133 lu = lp->invB; in bfp_free() 145 lp->invB = NULL; in bfp_free() 154 lu = lp->invB; in bfp_nonzeros() 221 INVrec *invB = lp->invB; in bfp_LUSOLidentity() local 230 LUSOL_loadColumn(invB->LUSOL, rownum, i, invB->value, nz, 0); in bfp_LUSOLidentity() 245 INVrec *invB = lp->invB; in bfp_LUSOLfactorize() local 269 LUSOL_loadColumn(invB->LUSOL, rownum, i, invB->value, nz, 0); in bfp_LUSOLfactorize() 587 lu = lp->invB; in bfp_ftran_normal() 605 lu = lp->invB; in bfp_ftran_prepare() [all …]
|
/dports/math/e-antic/e-antic-1.0.0-rc.13/libeantic/upstream/antic/fq_poly_templates/ |
H A D | divrem_f.c | 24 TEMPLATE(T, t) invB; in _TEMPLATE() 26 TEMPLATE(T, init) (invB, ctx); in _TEMPLATE() 27 TEMPLATE(T, gcdinv) (f, invB, B + lenB - 1, ctx); in _TEMPLATE() 31 _TEMPLATE(T, poly_divrem) (Q, R, A, lenA, B, lenB, invB, ctx); in _TEMPLATE() 34 TEMPLATE(T, clear) (invB, ctx); in _TEMPLATE() 49 TEMPLATE(T, t) invB; in TEMPLATE() 51 TEMPLATE(T, init) (invB, ctx); in TEMPLATE() 56 TEMPLATE(T, clear) (invB, ctx); in TEMPLATE() 64 TEMPLATE(T, clear) (invB, ctx); in TEMPLATE() 89 B->coeffs, lenB, invB, ctx); in TEMPLATE() [all …]
|
H A D | gcd.c | 20 const TEMPLATE(T, t) invB, in _TEMPLATE() 30 return _TEMPLATE(T, poly_gcd_euclidean) (G, A, lenA, B, lenB, invB, in _TEMPLATE() 33 return _TEMPLATE(T, poly_gcd_hgcd) (G, A, lenA, B, lenB, invB, ctx); in _TEMPLATE() 49 TEMPLATE(T, t) invB; in TEMPLATE() 72 TEMPLATE(T, init) (invB, ctx); in TEMPLATE() 73 TEMPLATE(T, inv) (invB, TEMPLATE(T, poly_lead) (B, ctx), ctx); in TEMPLATE() 75 B->coeffs, lenB, invB, ctx); in TEMPLATE() 76 TEMPLATE(T, clear) (invB, ctx); in TEMPLATE()
|
H A D | divides.c | 22 const TEMPLATE(T, t) invB, in _TEMPLATE() 30 _TEMPLATE(T, poly_divrem) (Q, R, A, lenA, B, lenB, invB, ctx); in _TEMPLATE() 66 TEMPLATE(T, t) invB; in TEMPLATE() 68 TEMPLATE(T, init) (invB, ctx); in TEMPLATE() 69 TEMPLATE(T, inv) (invB, TEMPLATE(T, poly_lead) (B, ctx), ctx); in TEMPLATE() 77 B->coeffs, B->length, invB, ctx); in TEMPLATE() 87 B->coeffs, B->length, invB, ctx); in TEMPLATE() 91 TEMPLATE(T, clear) (invB, ctx); in TEMPLATE()
|
H A D | divrem_divconquer.c | 23 const TEMPLATE(T, t) invB, in __TEMPLATE() 46 invB, ctx); in __TEMPLATE() 74 invB, ctx); in __TEMPLATE() 88 slong lenB, const TEMPLATE(T, t) invB, in _TEMPLATE() 93 __TEMPLATE(T, poly_divrem_divconquer) (Q, R, A, lenA, B, lenB, invB, in _TEMPLATE() 118 invB, ctx); in _TEMPLATE() 138 TEMPLATE(T, t) invB; in TEMPLATE() 147 TEMPLATE(T, init) (invB, ctx); in TEMPLATE() 148 TEMPLATE(T, inv) (invB, TEMPLATE(T, poly_lead) (B, ctx), ctx); in TEMPLATE() 171 B->coeffs, lenB, invB, ctx); in TEMPLATE() [all …]
|
/dports/math/e-antic/flint2-ae7ec89/fq_poly_templates/ |
H A D | divrem_f.c | 24 TEMPLATE(T, t) invB; in _TEMPLATE() 26 TEMPLATE(T, init) (invB, ctx); in _TEMPLATE() 27 TEMPLATE(T, gcdinv) (f, invB, B + lenB - 1, ctx); in _TEMPLATE() 31 _TEMPLATE(T, poly_divrem) (Q, R, A, lenA, B, lenB, invB, ctx); in _TEMPLATE() 34 TEMPLATE(T, clear) (invB, ctx); in _TEMPLATE() 49 TEMPLATE(T, t) invB; in TEMPLATE() 51 TEMPLATE(T, init) (invB, ctx); in TEMPLATE() 56 TEMPLATE(T, clear) (invB, ctx); in TEMPLATE() 64 TEMPLATE(T, clear) (invB, ctx); in TEMPLATE() 89 B->coeffs, lenB, invB, ctx); in TEMPLATE() [all …]
|
H A D | divides.c | 22 const TEMPLATE(T, t) invB, in _TEMPLATE() 30 _TEMPLATE(T, poly_divrem) (Q, R, A, lenA, B, lenB, invB, ctx); in _TEMPLATE() 66 TEMPLATE(T, t) invB; in TEMPLATE() 68 TEMPLATE(T, init) (invB, ctx); in TEMPLATE() 69 TEMPLATE(T, inv) (invB, TEMPLATE(T, poly_lead) (B, ctx), ctx); in TEMPLATE() 77 B->coeffs, B->length, invB, ctx); in TEMPLATE() 87 B->coeffs, B->length, invB, ctx); in TEMPLATE() 91 TEMPLATE(T, clear) (invB, ctx); in TEMPLATE()
|
H A D | gcd.c | 20 const TEMPLATE(T, t) invB, in _TEMPLATE() 30 return _TEMPLATE(T, poly_gcd_euclidean) (G, A, lenA, B, lenB, invB, in _TEMPLATE() 33 return _TEMPLATE(T, poly_gcd_hgcd) (G, A, lenA, B, lenB, invB, ctx); in _TEMPLATE() 49 TEMPLATE(T, t) invB; in TEMPLATE() 72 TEMPLATE(T, init) (invB, ctx); in TEMPLATE() 73 TEMPLATE(T, inv) (invB, TEMPLATE(T, poly_lead) (B, ctx), ctx); in TEMPLATE() 75 B->coeffs, lenB, invB, ctx); in TEMPLATE() 76 TEMPLATE(T, clear) (invB, ctx); in TEMPLATE()
|
H A D | divrem_divconquer.c | 23 const TEMPLATE(T, t) invB, in __TEMPLATE() 46 invB, ctx); in __TEMPLATE() 74 invB, ctx); in __TEMPLATE() 88 slong lenB, const TEMPLATE(T, t) invB, in _TEMPLATE() 93 __TEMPLATE(T, poly_divrem_divconquer) (Q, R, A, lenA, B, lenB, invB, in _TEMPLATE() 118 invB, ctx); in _TEMPLATE() 138 TEMPLATE(T, t) invB; in TEMPLATE() 147 TEMPLATE(T, init) (invB, ctx); in TEMPLATE() 148 TEMPLATE(T, inv) (invB, TEMPLATE(T, poly_lead) (B, ctx), ctx); in TEMPLATE() 171 B->coeffs, lenB, invB, ctx); in TEMPLATE() [all …]
|
/dports/math/flint2/flint-2.8.4/fq_poly_templates/ |
H A D | divrem_f.c | 24 TEMPLATE(T, t) invB; in _TEMPLATE() 26 TEMPLATE(T, init) (invB, ctx); in _TEMPLATE() 27 TEMPLATE(T, gcdinv) (f, invB, B + lenB - 1, ctx); in _TEMPLATE() 31 _TEMPLATE(T, poly_divrem) (Q, R, A, lenA, B, lenB, invB, ctx); in _TEMPLATE() 34 TEMPLATE(T, clear) (invB, ctx); in _TEMPLATE() 49 TEMPLATE(T, t) invB; in TEMPLATE() 51 TEMPLATE(T, init) (invB, ctx); in TEMPLATE() 56 TEMPLATE(T, clear) (invB, ctx); in TEMPLATE() 64 TEMPLATE(T, clear) (invB, ctx); in TEMPLATE() 89 B->coeffs, lenB, invB, ctx); in TEMPLATE() [all …]
|
H A D | divides.c | 22 const TEMPLATE(T, t) invB, in _TEMPLATE() 30 _TEMPLATE(T, poly_divrem) (Q, R, A, lenA, B, lenB, invB, ctx); in _TEMPLATE() 66 TEMPLATE(T, t) invB; in TEMPLATE() 68 TEMPLATE(T, init) (invB, ctx); in TEMPLATE() 69 TEMPLATE(T, inv) (invB, TEMPLATE(T, poly_lead) (B, ctx), ctx); in TEMPLATE() 77 B->coeffs, B->length, invB, ctx); in TEMPLATE() 87 B->coeffs, B->length, invB, ctx); in TEMPLATE() 91 TEMPLATE(T, clear) (invB, ctx); in TEMPLATE()
|
H A D | gcd.c | 20 const TEMPLATE(T, t) invB, in _TEMPLATE() 30 return _TEMPLATE(T, poly_gcd_euclidean) (G, A, lenA, B, lenB, invB, in _TEMPLATE() 33 return _TEMPLATE(T, poly_gcd_hgcd) (G, A, lenA, B, lenB, invB, ctx); in _TEMPLATE() 49 TEMPLATE(T, t) invB; in TEMPLATE() 72 TEMPLATE(T, init) (invB, ctx); in TEMPLATE() 73 TEMPLATE(T, inv) (invB, TEMPLATE(T, poly_lead) (B, ctx), ctx); in TEMPLATE() 75 B->coeffs, lenB, invB, ctx); in TEMPLATE() 76 TEMPLATE(T, clear) (invB, ctx); in TEMPLATE()
|
/dports/math/flint2/flint-2.8.4/n_poly/ |
H A D | n_fq_poly_divrem.c | 23 const mp_limb_t * invB, in _n_fq_poly_rem_basecase_() argument 40 _n_fq_mul(q1, A + d*(Alen - 1), invB, ctx, tmp); in _n_fq_poly_rem_basecase_() 43 _n_fq_mul(q0, q0, invB, ctx, tmp); in _n_fq_poly_rem_basecase_() 63 _n_fq_mul(q0, A + d*(Alen - 1), invB, ctx, tmp); in _n_fq_poly_rem_basecase_() 84 const mp_limb_t * invB, in _n_fq_poly_divrem_basecase_() argument 105 _n_fq_mul(q0, q0, invB, ctx, tmp); in _n_fq_poly_divrem_basecase_() 150 const mp_limb_t * invB, in _n_fq_poly_divrem_divconquer_recursive_() argument 213 mp_limb_t * invB, in __n_fq_poly_divrem_divconquer_() argument 263 mp_limb_t * invB, in _n_fq_poly_divrem_divconquer_() argument 313 mp_limb_t * tmp, * invB; in n_fq_poly_divrem_divconquer_() local [all …]
|
/dports/math/lp_solve/lp_solve_5.5/bfp/ |
H A D | lp_BFP1.c | 31 return(lp->invB->status); in bfp_status() 61 return( lp->invB->pcol ); in bfp_pivotvector() 80 return(lp->invB->num_pivots); in bfp_pivotcount() 88 return(lp->invB->num_refact); in bfp_refactcount() 90 return(lp->invB->num_timed_refact); in bfp_refactcount() 92 return(lp->invB->num_dense_refact); in bfp_refactcount() 103 INVrec *lu = lp->invB; in bfp_mustrefactorize() 145 return( (MYBOOL) lp->invB->set_Bidentity ); in bfp_isSetI() 182 INVrec *lu = lp->invB; in bfp_updaterefactstats()
|