Home
last modified time | relevance | path

Searched refs:newcoeff (Results 1 – 25 of 31) sorted by relevance

12

/dports/math/sisl/SISL-SISL-4.6.0-44-g9114631/src/
H A Ds1537.c181 double *newcoeff=SISL_NULL; /* Array needed for call to s1357 */ local
207 if( (newcoeff = newarray(idim * im1 * newin2, DOUBLE)) == SISL_NULL )
209 s6chpar(curve1->ecoef, im1, newin2, idim, newcoeff);
213 s1357(newcoeff, im1, idim*newin2, typept, par1, con3, con4, iopen1, order1,
226 if( (newcoeff=increasearray(newcoeff, idim*newin1*newin2, DOUBLE))
228 s6chpar(curve2->ecoef, newin2, newin1, idim, newcoeff);
233 curve1->et, newcoeff, 1, idim, 1)) == SISL_NULL)
262 if (newcoeff != SISL_NULL) freearray(newcoeff);
H A Ds1966.c206 double *newcoeff = SISL_NULL; /* Coefficients array */ local
301 if( (newcoeff = newarray(idim * in1 * newin2, DOUBLE)) == SISL_NULL )
303 s6chpar(ocurve1->ecoef, in1, newin2, idim, newcoeff);
307 s1350(newcoeff, &(osurf2->et1)[1], in1,
323 newcoeff = increasearray(newcoeff,
325 if (newcoeff == SISL_NULL) goto err101;
326 s6chpar(ocurve2->ecoef, newin2, newin1, idim, newcoeff);
331 ocurve1->et, newcoeff, 1, idim, 1);
333 if (newcoeff != SISL_NULL) freearray(newcoeff); newcoeff = SISL_NULL;
H A Ds1346.c203 double *newcoeff = SISL_NULL; /* Coefficients array */ local
298 if( (newcoeff = newarray(idim * in1 * newin2, DOUBLE)) == SISL_NULL )
300 s6chpar(ocurve1->ecoef, in1, newin2, idim, newcoeff);
304 s1350(newcoeff, &(osurf2->et1)[1], in1,
320 newcoeff = increasearray(newcoeff,
322 if (newcoeff == SISL_NULL) goto err101;
323 s6chpar(ocurve2->ecoef, newin2, newin1, idim, newcoeff);
328 ocurve1->et, newcoeff, 1, idim, 1);
330 free(newcoeff); newcoeff = SISL_NULL;
H A Ds1968.c156 double *newcoeff = SISL_NULL; local
258 newcoeff = newarray(idim * osurf1->in1 * osurf1->in2, DOUBLE);
259 if (newcoeff == SISL_NULL) goto err101;
260 s6chpar(osurf1->ecoef, osurf1->in1, osurf1->in2, idim, newcoeff);
263 newcoeff, 1, idim*osurf1->in2, 1);
385 if(newcoeff != SISL_NULL) freearray(newcoeff);
H A Ds1348.c158 double *newcoeff = SISL_NULL; local
283 newcoeff = newarray(idim * osurf1->in1 * osurf1->in2, DOUBLE);
284 if (newcoeff == SISL_NULL) goto err101;
285 s6chpar(osurf1->ecoef, osurf1->in1, osurf1->in2, idim, newcoeff);
288 newcoeff, 1, idim*osurf1->in2, 1);
416 if(newcoeff != SISL_NULL) freearray(newcoeff);
/dports/math/e-antic/e-antic-1.0.0-rc.13/libeantic/upstream/antic/nf_elem/test/
H A Dt-set_coeff_num_fmpz.c39 fmpq_t newcoeff, tempcoeff; in main() local
46 fmpq_init(newcoeff); in main()
62 nf_elem_get_coeff_fmpq(newcoeff, a, coeff, nf); in main()
64 result = fmpq_equal(newcoeff, tempcoeff); in main()
72 flint_printf("newcoeff = "); fmpq_print(newcoeff); printf("\n"); in main()
86 fmpq_clear(newcoeff); in main()
/dports/math/e-antic/antic-f4e8a60/nf_elem/test/
H A Dt-set_coeff_num_fmpz.c39 fmpq_t newcoeff, tempcoeff; in main() local
46 fmpq_init(newcoeff); in main()
62 nf_elem_get_coeff_fmpq(newcoeff, a, coeff, nf); in main()
64 result = fmpq_equal(newcoeff, tempcoeff); in main()
72 flint_printf("newcoeff = "); fmpq_print(newcoeff); printf("\n"); in main()
86 fmpq_clear(newcoeff); in main()
/dports/math/antic/antic-0.2.4/nf_elem/test/
H A Dt-set_coeff_num_fmpz.c39 fmpq_t newcoeff, tempcoeff; in main() local
46 fmpq_init(newcoeff); in main()
62 nf_elem_get_coeff_fmpq(newcoeff, a, coeff, nf); in main()
64 result = fmpq_equal(newcoeff, tempcoeff); in main()
72 flint_printf("newcoeff = "); fmpq_print(newcoeff); printf("\n"); in main()
86 fmpq_clear(newcoeff); in main()
/dports/science/bagel/bagel-1.2.2/src/smith/
H A Dmoint.cc312 auto newcoeff = coeff_->copy(); in init() local
317newcoeff->copy_block(0, 0, newcoeff->ndim(), (ncore+nclosed)*2, newcoeff->slice(0, (ncore+nclosed)… in init()
336 newcoeff->copy_block(0, nocc*2, newcoeff->ndim(), nvirt, crot.slice(0, nvirt)); in init()
337newcoeff->copy_block(0, nocc*2+nvirt, newcoeff->ndim(), nvirt, crot.slice(nvirtall, nvirtall+nvirt… in init()
340 newcoeff = newcoeff->slice_copy(0, (nocc+nvirt)*2); in init()
352 coeff_ = newcoeff; in init()
435 auto newcoeff = coeff_->copy(); in init() local
439 newcoeff->copy_block(0, 0, nbasis, ncore+nclosed, newcoeff->slice(0, ncore+nclosed) * *fcl); in init()
446 newcoeff->copy_block(0, nocc, nbasis, nvirtall, newcoeff->slice(nocc, nocc+nvirtall) * *fvirt); in init()
449 newcoeff = newcoeff->slice_copy(0, nocc+nvirt); in init()
[all …]
/dports/math/GiNaC/ginac-1.8.2/ginac/
H A Dexpair.cpp41 ex newcoeff = coeff.conjugate(); in conjugate() local
42 if (are_ex_trivially_equal(newrest,rest) && are_ex_trivially_equal(newcoeff,coeff)) { in conjugate()
45 return expair(newrest, newcoeff); in conjugate()
H A Dexpairseq.cpp229 ex newcoeff = f(overall_coeff); in map() local
230 if(is_a<numeric>(newcoeff)) in map()
231 return thisexpairseq(std::move(v), newcoeff, true); in map()
233 v.push_back(split_ex_to_pair(newcoeff)); in map()
685 const numeric &newcoeff = ex_to<numeric>(first1->coeff). in construct_from_2_expairseq() local
687 if (!newcoeff.is_zero()) { in construct_from_2_expairseq()
688 seq.push_back(expair(first1->rest,newcoeff)); in construct_from_2_expairseq()
743 const numeric &newcoeff = ex_to<numeric>(first->coeff). in construct_from_expairseq_ex() local
745 if (!newcoeff.is_zero()) { in construct_from_expairseq_ex()
746 seq.push_back(expair(first->rest,newcoeff)); in construct_from_expairseq_ex()
H A Dpseries.cpp488 ex newcoeff = i->rest.evalm(); in evalm() local
489 if (!newcoeff.is_zero()) in evalm()
490 newseq.emplace_back(expair(newcoeff, i->coeff)); in evalm()
492 ex newcoeff = i->rest.evalm(); in evalm() local
493 if (!are_ex_trivially_equal(newcoeff, i->rest)) { in evalm()
497 if (!newcoeff.is_zero()) in evalm()
498 newseq.emplace_back(expair(newcoeff, i->coeff)); in evalm()
/dports/math/pynac/pynac-pynac-0.7.27/ginac/
H A Dexpair.cpp41 ex newcoeff = coeff.conjugate(); in conjugate() local
42 if (are_ex_trivially_equal(newrest,rest) && are_ex_trivially_equal(newcoeff,coeff)) { in conjugate()
45 return expair(newrest, newcoeff); in conjugate()
H A Dexpairseq.cpp313 ex newcoeff = f(overall_coeff); in map() local
314 if(is_exactly_a<numeric>(newcoeff)) in map()
316 ex_to<numeric>(newcoeff), true); in map()
318 v->push_back(split_ex_to_pair(newcoeff)); in map()
827 const numeric &newcoeff = ex_to<numeric>(first1->coeff). in construct_from_2_expairseq() local
829 if (!newcoeff.is_zero()) { in construct_from_2_expairseq()
830 seq.emplace_back(first1->rest,newcoeff); in construct_from_2_expairseq()
894 const numeric &newcoeff = ex_to<numeric>(first->coeff). in construct_from_expairseq_ex() local
896 if (!newcoeff.is_zero()) { in construct_from_expairseq_ex()
897 seq.emplace_back(first->rest,newcoeff); in construct_from_expairseq_ex()
/dports/math/singular/Singular-Release-4-2-1/factory/
H A Dint_poly.cc518 CanonicalForm coeff, newcoeff; in divsame() local
535 newcoeff = first->coeff / coeff; in divsame()
614 CanonicalForm coeff, newcoeff; in tryDivsame() local
637 newcoeff= reduce (newcoeff, M); in tryDivsame()
642 if (!newcoeff.isZero()) in tryDivsame()
702 CanonicalForm coeff, newcoeff; in modsame() local
719 newcoeff = first->coeff / coeff; in modsame()
777 CanonicalForm coeff, newcoeff; in divremsame() local
920 if (!newcoeff.isZero()) in tryDivremsamet()
2269 CanonicalForm newcoeff; in reduceTermList() local
[all …]
/dports/math/giacxcas/giac-1.6.0/src/
H A Dlin.cc285 newcoeff=-coeff; in tadd()
289 res.push_back(newcoeff); in tadd()
293 newcoeff=newcoeff*newangle; in tadd()
294 if (!is_zero(newcoeff)){ in tadd()
295 res.push_back(newcoeff); in tadd()
302 gen newcoeff,tmp; in tconvolution() local
306 newcoeff=coeff*(*it); in tconvolution()
310 newcoeff=recursive_normal(rdiv(newcoeff,plus_two,contextptr),false,contextptr); in tconvolution()
326 newcoeff=coeff*(*it); in tconvolution()
330 newcoeff=recursive_normal(rdiv(newcoeff,plus_two,contextptr),false,contextptr); in tconvolution()
[all …]
/dports/math/yices/yices-2.6.2/src/mcsat/bv/explain/
H A Darith_utils.c390 bvconstant_t newcoeff; in arith_sum_norm() local
391 init_bvconstant(&newcoeff); in arith_sum_norm()
392 bvconstant_copy(&newcoeff, w, coeff); in arith_sum_norm()
393 bvconst_shift_right(newcoeff.data, w, shift, false); in arith_sum_norm()
402 bvarith_buffer_add_const_times_term(buffer, terms, newcoeff.data, monom_var); in arith_sum_norm()
403 delete_bvconstant(&newcoeff); in arith_sum_norm()
/dports/math/gp2c/gp2c-0.0.12/src/
H A Dgenblock.c165 int newcoeff(int n, int x, int y) in newcoeff() function
323 affectval(pushvar(var,flag,tv,-1),newcoeff(newleaf(ret),newsmall(j+1),-1),seq); in genblockdeclaration()
494 return newcoeff(var, newsmall(ind), -1); in newvectoridx()
499 return newcoeff(var, newsmall(x), newsmall(y)); in newmatidx()
523 seq=newcoeff(newleaf(vx),newleaf(vy),newleaf(var)); in genblockmatrixl()
527 arg[2]=newcoeff(newleaf(ret),newleaf(var),-1); in genblockmatrixl()
562 seq=newcoeff(newleaf(x),newleaf(vy),newleaf(var)); in genblockaffmatrixl()
565 arg[2]=newcoeff(newleaf(vz),newleaf(var),-1); in genblockaffmatrixl()
620 arg[i]=newgetg(newcoeff(newleaf(ret),newsmall(i),-1), in genblockmatrix()
655 vars[i] = newnode(Fassign,vars[i],newcoeff(newleaf(ret),newsmall(i+1),-1)); in genblockvecaff()
[all …]
/dports/math/osi/Osi-0.108.6/CoinUtils/src/
H A DCoinPresolveSubst.cpp148 double newcoeff = rowels[krowx] + rowels[krowy] * coeff_factor; in add_row() local
151 std::cout << rowels[krowx] << " -> " << newcoeff << ";"; in add_row()
155 if (fabs(newcoeff) < tolerance) in add_row()
156 newcoeff = 0.0; in add_row()
157 rowels[krowx] = newcoeff; in add_row()
H A DCoinPresolveImpliedFree.cpp40 double newcoeff; in check_row() local
42 newcoeff = rowels[krowx] + rowels[krowy] * coeff_factor; in check_row()
44 newcoeff = rowels[krowy] * coeff_factor; in check_row()
48 if (fabs(newcoeff) < tolerance) { in check_row()
49 if (newcoeff > 0.1 * tolerance) in check_row()
/dports/math/coinutils/CoinUtils-2.11.4/CoinUtils/src/
H A DCoinPresolveSubst.cpp148 double newcoeff = rowels[krowx] + rowels[krowy] * coeff_factor; in add_row() local
151 std::cout << rowels[krowx] << " -> " << newcoeff << ";"; in add_row()
155 if (fabs(newcoeff) < tolerance) in add_row()
156 newcoeff = 0.0; in add_row()
157 rowels[krowx] = newcoeff; in add_row()
H A DCoinPresolveImpliedFree.cpp40 double newcoeff; in check_row() local
42 newcoeff = rowels[krowx] + rowels[krowy] * coeff_factor; in check_row()
44 newcoeff = rowels[krowy] * coeff_factor; in check_row()
48 if (fabs(newcoeff) < tolerance) { in check_row()
49 if (newcoeff > 0.1 * tolerance) in check_row()
/dports/math/clp/Clp-1.17.3/CoinUtils/src/
H A DCoinPresolveSubst.cpp148 double newcoeff = rowels[krowx] + rowels[krowy] * coeff_factor; in add_row() local
151 std::cout << rowels[krowx] << " -> " << newcoeff << ";"; in add_row()
155 if (fabs(newcoeff) < tolerance) in add_row()
156 newcoeff = 0.0; in add_row()
157 rowels[krowx] = newcoeff; in add_row()
H A DCoinPresolveImpliedFree.cpp40 double newcoeff; in check_row() local
42 newcoeff = rowels[krowx] + rowels[krowy] * coeff_factor; in check_row()
44 newcoeff = rowels[krowy] * coeff_factor; in check_row()
48 if (fabs(newcoeff) < tolerance) { in check_row()
49 if (newcoeff > 0.1 * tolerance) in check_row()
/dports/math/py-mathics/Mathics3-2.2.0/mathics/builtin/numbers/
H A Dcalculus.py1505 newcoeff = df.replace_vars(vars)
1507 newcoeff = Expression(
1510 newcoeff,
1512 data.append(newcoeff)

12