Home
last modified time | relevance | path

Searched refs:set_coeff (Results 1 – 25 of 110) sorted by relevance

12345

/dports/math/e-antic/flint2-ae7ec89/examples/
H A Dradix.cpp38 A.set_coeff(3, 5); in main()
39 A.set_coeff(4, 4); in main()
41 B.set_coeff(0, 1); in main()
42 B.set_coeff(2, 1); in main()
43 B.set_coeff(3, 5); in main()
44 B.set_coeff(4, 1); in main()
45 B.set_coeff(5, 5); in main()
46 B.set_coeff(8, 8); in main()
47 B.set_coeff(9, 8); in main()
48 B.set_coeff(10, 5); in main()
[all …]
H A Dfmpz_mod_poly.cpp27 x.set_coeff(3, 5); in main()
28 x.set_coeff(0, 6); in main()
/dports/math/flint2/flint-2.8.4/examples/
H A Dradix.cpp38 A.set_coeff(3, 5); in main()
39 A.set_coeff(4, 4); in main()
41 B.set_coeff(0, 1); in main()
42 B.set_coeff(2, 1); in main()
43 B.set_coeff(3, 5); in main()
44 B.set_coeff(4, 1); in main()
45 B.set_coeff(5, 5); in main()
46 B.set_coeff(8, 8); in main()
47 B.set_coeff(9, 8); in main()
48 B.set_coeff(10, 5); in main()
[all …]
H A Dfmpz_mod_poly.cpp27 x.set_coeff(3, 5); in main()
28 x.set_coeff(0, 6); in main()
/dports/math/e-antic/e-antic-1.0.0-rc.13/libeantic/upstream/antic/examples/
H A Dradix.cpp38 A.set_coeff(3, 5); in main()
39 A.set_coeff(4, 4); in main()
41 B.set_coeff(0, 1); in main()
42 B.set_coeff(2, 1); in main()
43 B.set_coeff(3, 5); in main()
44 B.set_coeff(4, 1); in main()
45 B.set_coeff(5, 5); in main()
46 B.set_coeff(8, 8); in main()
47 B.set_coeff(9, 8); in main()
48 B.set_coeff(10, 5); in main()
[all …]
H A Dfmpz_mod_poly.cpp27 x.set_coeff(3, 5); in main()
28 x.set_coeff(0, 6); in main()
/dports/math/lidia/lidia-2.3.0+latte-patches-2014-10-04/src/finite_fields/powser/
H A Dsparse_power_series_appl.cc213 b.set_coeff (a[i], i); in main_LiDIA()
222 b.set_coeff (zero, f); in main_LiDIA()
223 b.set_coeff (a[f], f); in main_LiDIA()
363 c.set_coeff (one, f-5); in main_LiDIA()
364 c.set_coeff (one, l+6); in main_LiDIA()
377 c.set_coeff (zero, l); in main_LiDIA()
390 c.set_coeff (zero, f); in main_LiDIA()
391 c.set_coeff (zero, l); in main_LiDIA()
453 b.set_coeff (zero, f); in main_LiDIA()
463 c.set_coeff (tmp, f); in main_LiDIA()
[all …]
H A Ddense_power_series_appl.cc256 b.set_coeff (a[i], i); in main_LiDIA()
265 b.set_coeff (zero, f); in main_LiDIA()
266 b.set_coeff (a[f], f); in main_LiDIA()
285 b.set_coeff (zero, f); in main_LiDIA()
426 c.set_coeff (one, f-5); in main_LiDIA()
440 c.set_coeff (zero, l); in main_LiDIA()
453 c.set_coeff (zero, f); in main_LiDIA()
454 c.set_coeff (zero, l); in main_LiDIA()
506 b.set_coeff (zero, f); in main_LiDIA()
511 c.set_coeff (tmp, f); in main_LiDIA()
[all …]
/dports/math/cln/cln-1.3.6/examples/
H A Dlegendre.cc23 b.set_coeff(2,1); in legendre()
24 b.set_coeff(1,0); in legendre()
25 b.set_coeff(0,-1); in legendre()
32 p.set_coeff(j, coeff(p,j) * factor); in legendre()
41 b.set_coeff(2,R->canonhom(1)); in legendre()
42 b.set_coeff(1,R->canonhom(0)); in legendre()
43 b.set_coeff(0,R->canonhom(-1)); in legendre()
50 p.set_coeff(j, coeff(p,j) * factor); in legendre()
/dports/math/e-antic/flint2-ae7ec89/flintxx/test/
H A Dt-fmpz_mod_polyxx.cpp40 p.set_coeff(0, 1); in test_manipulation()
42 p.set_coeff(0, 0); in test_manipulation()
60 p.set_coeff(0, 1); in test_assignment()
93 g.set_coeff(0, 17); h.set_coeff(0, 15u + M); in test_arithmetic()
138 g.set_coeff(5, 15); in test_functions()
143 g.set_coeff(15, 1); in test_functions()
156 g.set_coeff(15, 1); in test_functions()
199 f.set_coeff(0, 17); in test_functions()
346 f.set_coeff(0, 3); in test_printing()
347 f.set_coeff(1, 1); in test_printing()
[all …]
H A Dt-nmod_polyxx.cpp33 p.set_coeff(0, 1); in test_init()
53 p.set_coeff(0, 0); in test_manipulation()
60 p.set_coeff(0, 1); in test_manipulation()
69 p.set_coeff(0, 1); in test_assignment()
75 q.set_coeff(3, 1); in test_assignment()
90 p.set_coeff(3, 1); in test_conversion()
100 g.set_coeff(0, 17); h.set_coeff(0, 15); in test_arithmetic()
163 g.set_coeff(5, 15); in test_functions()
169 g.set_coeff(15, 1); in test_functions()
286 g.set_coeff(0, 0); in test_functions()
[all …]
H A Dt-fmpq_polyxx.cpp35 p.set_coeff(5, 17); in test_manipulation()
38 q.set_coeff(5, fmpqxx(17, 2u)); in test_manipulation()
40 p.set_coeff(0, fmpzxx(1)); in test_manipulation()
49 p.set_coeff(0, 1); in test_manipulation()
68 q.set_coeff(3, 1); in test_assignment()
92 p.set_coeff(3, fmpqxx(1, 2u)); in test_conversion()
104 p.set_coeff(1, 1); in test_arithmetic()
127 q.set_coeff(1, 17); // q == "4 0 17 0 2" in test_arithmetic()
176 f.set_coeff(5, 1); in test_functions()
177 f.set_coeff(0, 1); in test_functions()
/dports/math/e-antic/e-antic-1.0.0-rc.13/libeantic/upstream/antic/flintxx/test/
H A Dt-fmpz_mod_polyxx.cpp40 p.set_coeff(0, 1); in test_manipulation()
42 p.set_coeff(0, 0); in test_manipulation()
60 p.set_coeff(0, 1); in test_assignment()
93 g.set_coeff(0, 17); h.set_coeff(0, 15u + M); in test_arithmetic()
138 g.set_coeff(5, 15); in test_functions()
143 g.set_coeff(15, 1); in test_functions()
156 g.set_coeff(15, 1); in test_functions()
199 f.set_coeff(0, 17); in test_functions()
346 f.set_coeff(0, 3); in test_printing()
347 f.set_coeff(1, 1); in test_printing()
[all …]
H A Dt-nmod_polyxx.cpp33 p.set_coeff(0, 1); in test_init()
53 p.set_coeff(0, 0); in test_manipulation()
60 p.set_coeff(0, 1); in test_manipulation()
69 p.set_coeff(0, 1); in test_assignment()
75 q.set_coeff(3, 1); in test_assignment()
90 p.set_coeff(3, 1); in test_conversion()
100 g.set_coeff(0, 17); h.set_coeff(0, 15); in test_arithmetic()
163 g.set_coeff(5, 15); in test_functions()
169 g.set_coeff(15, 1); in test_functions()
286 g.set_coeff(0, 0); in test_functions()
[all …]
H A Dt-fmpq_polyxx.cpp35 p.set_coeff(5, 17); in test_manipulation()
38 q.set_coeff(5, fmpqxx(17, 2u)); in test_manipulation()
40 p.set_coeff(0, fmpzxx(1)); in test_manipulation()
49 p.set_coeff(0, 1); in test_manipulation()
68 q.set_coeff(3, 1); in test_assignment()
92 p.set_coeff(3, fmpqxx(1, 2u)); in test_conversion()
104 p.set_coeff(1, 1); in test_arithmetic()
127 q.set_coeff(1, 17); // q == "4 0 17 0 2" in test_arithmetic()
176 f.set_coeff(5, 1); in test_functions()
177 f.set_coeff(0, 1); in test_functions()
/dports/math/flint2/flint-2.8.4/flintxx/test/
H A Dt-nmod_polyxx.cpp33 p.set_coeff(0, 1); in test_init()
53 p.set_coeff(0, 0); in test_manipulation()
60 p.set_coeff(0, 1); in test_manipulation()
69 p.set_coeff(0, 1); in test_assignment()
75 q.set_coeff(3, 1); in test_assignment()
90 p.set_coeff(3, 1); in test_conversion()
100 g.set_coeff(0, 17); h.set_coeff(0, 15); in test_arithmetic()
163 g.set_coeff(5, 15); in test_functions()
169 g.set_coeff(15, 1); in test_functions()
286 g.set_coeff(0, 0); in test_functions()
[all …]
H A Dt-fmpz_mod_polyxx.cpp41 p.set_coeff(0, 1); in test_manipulation()
43 p.set_coeff(0, 0); in test_manipulation()
61 p.set_coeff(0, 1); in test_assignment()
94 g.set_coeff(0, 17); h.set_coeff(0, 15u + M.modulus()); in test_arithmetic()
139 g.set_coeff(5, 15); in test_functions()
144 g.set_coeff(15, 1); in test_functions()
157 g.set_coeff(15, 1); in test_functions()
199 f.set_coeff(0, 17); in test_functions()
347 f.set_coeff(0, 3); in test_printing()
348 f.set_coeff(1, 1); in test_printing()
[all …]
H A Dt-fmpq_polyxx.cpp35 p.set_coeff(5, 17); in test_manipulation()
38 q.set_coeff(5, fmpqxx(17, 2u)); in test_manipulation()
40 p.set_coeff(0, fmpzxx(1)); in test_manipulation()
49 p.set_coeff(0, 1); in test_manipulation()
68 q.set_coeff(3, 1); in test_assignment()
92 p.set_coeff(3, fmpqxx(1, 2u)); in test_conversion()
104 p.set_coeff(1, 1); in test_arithmetic()
127 q.set_coeff(1, 17); // q == "4 0 17 0 2" in test_arithmetic()
176 f.set_coeff(5, 1); in test_functions()
177 f.set_coeff(0, 1); in test_functions()
/dports/math/cln/cln-1.3.6/include/cln/
H A Dunivpoly_integer.h49 void set_coeff (uintL index, const cl_I& y);
134 void set_coeff (cl_UP_I& x, uintL index, const cl_I& y)
136 cl_heap_univpoly_ring::set_coeff(x,index,cl_ring_element(cl_I_ring,y));
200 inline void set_coeff (cl_UP_I& x, uintL index, const cl_I& y)
201 { x.ring()->set_coeff(x,index,y); }
204 inline void cl_UP_I::set_coeff (uintL index, const cl_I& y)
205 { ring()->set_coeff(*this,index,y); }
H A Dunivpoly_complex.h50 void set_coeff (uintL index, const cl_N& y);
135 void set_coeff (cl_UP_N& x, uintL index, const cl_N& y)
137 cl_heap_univpoly_ring::set_coeff(x,index,cl_ring_element(cl_C_ring,y));
205 inline void set_coeff (cl_UP_N& x, uintL index, const cl_N& y)
206 { x.ring()->set_coeff(x,index,y); }
209 inline void cl_UP_N::set_coeff (uintL index, const cl_N& y)
210 { ring()->set_coeff(*this,index,y); }
H A Dunivpoly_modint.h40 void set_coeff (uintL index, const cl_MI& y); in CL_DEFINE_COPY_CONSTRUCTOR2()
126 void set_coeff (cl_UP_MI& x, uintL index, const cl_MI& y) in set_coeff() function
128 cl_heap_univpoly_ring::set_coeff(x,index,y); in set_coeff()
196 inline void set_coeff (cl_UP_MI& x, uintL index, const cl_MI& y) in set_coeff() function
197 { x.ring()->set_coeff(x,index,y); } in set_coeff()
200 inline void cl_UP_MI::set_coeff (uintL index, const cl_MI& y) in set_coeff() function
201 { ring()->set_coeff(*this,index,y); } in set_coeff()
H A Dunivpoly_rational.h50 void set_coeff (uintL index, const cl_RA& y);
135 void set_coeff (cl_UP_RA& x, uintL index, const cl_RA& y)
137 cl_heap_univpoly_ring::set_coeff(x,index,cl_ring_element(cl_RA_ring,y));
205 inline void set_coeff (cl_UP_RA& x, uintL index, const cl_RA& y)
206 { x.ring()->set_coeff(x,index,y); }
209 inline void cl_UP_RA::set_coeff (uintL index, const cl_RA& y)
210 { ring()->set_coeff(*this,index,y); }
H A Dunivpoly_real.h50 void set_coeff (uintL index, const cl_R& y);
135 void set_coeff (cl_UP_R& x, uintL index, const cl_R& y)
137 cl_heap_univpoly_ring::set_coeff(x,index,cl_ring_element(cl_R_ring,y));
205 inline void set_coeff (cl_UP_R& x, uintL index, const cl_R& y)
206 { x.ring()->set_coeff(x,index,y); }
209 inline void cl_UP_R::set_coeff (uintL index, const cl_R& y)
210 { ring()->set_coeff(*this,index,y); }
H A Dunivpoly.h97 void set_coeff (uintL index, const cl_ring_element& y);
226 { polyops->set_coeff(this,x,index,y); } in _set_coeff()
321 void set_coeff (cl_UP& x, uintL index, const cl_ring_element& y) in set_coeff() function
436 { x.ring()->set_coeff(x,index,y); } in set_coeff()
439 inline void cl_UP::set_coeff (uintL index, const cl_ring_element& y) in set_coeff() function
440 { ring()->set_coeff(*this,index,y); } in set_coeff()
538 void set_coeff (uintL index, const T& y); in _CL_DEFINE_COPY_CONSTRUCTOR2()
624 void set_coeff (cl_UP_specialized<T>& x, uintL index, const T& y) in set_coeff() function
704 { x.ring()->set_coeff(x,index,y); } in set_coeff()
709 inline void cl_UP_specialized<T>::set_coeff (uintL index, const T& y) in set_coeff() function
[all …]
/dports/math/eclib/eclib-20210318/libsrc/
H A Dconic.cc767 if(divide_exact(qx[0],a2,t)) {qx.set_coeff(0,t);} else in solve_conic_param()
832 qx.set_coeff(2,qx[2]+e*(qx[1]+e*qx[0])); in solve_conic_param()
833 qx.set_coeff(1,qx[1]+2*e*qx[0]); in solve_conic_param()
834 if(divide_exact(qx[1],fac,t)) {qx.set_coeff(1,t);} else in solve_conic_param()
836 if(divide_exact(qx[2],fac2,t)) {qx.set_coeff(2,t);} else in solve_conic_param()
839 qy.set_coeff(2,qy[2]+e*(qy[1]+e*qy[0])); in solve_conic_param()
840 qy.set_coeff(1,qy[1]+2*e*qy[0]); in solve_conic_param()
841 if(divide_exact(qy[1],fac,t)) {qy.set_coeff(1,t);} else in solve_conic_param()
846 qz.set_coeff(2,qz[2]+e*(qz[1]+e*qz[0])); in solve_conic_param()
847 qz.set_coeff(1,qz[1]+2*e*qz[0]); in solve_conic_param()
[all …]

12345