Home
last modified time | relevance | path

Searched refs:Poly (Results 1 – 25 of 2116) sorted by relevance

12345678910>>...85

/dports/math/py-Diofant/Diofant-0.13.0/diofant/tests/integrals/
H A Dtest_prde.py29 (Poly(x, t), (Poly(1, t), Poly(1, t)), [(Poly(x*t, t),
44 G = [(Poly(t, t), Poly(1, t)), (Poly(t**2, t), Poly(1, t)), (Poly(t**3, t), Poly(1, t))]
47 (Poly(t + 1, t), Poly(t**2, t), [(Poly(t, t), Poly(1, t)),
49 G = [(Poly(t, t), Poly(1, t)), (Poly(1, t), Poly(t, t))]
55 G = [(Poly(t, t), Poly(t**2, t)), (Poly(2*t, t), Poly(t, t))]
65 (Poly(t + 1, t), Poly(0, t), [(Poly(t + x, t), Poly(x*t, t)), (Poly(2*t, t, x),
75 G = [(Poly(t, t), Poly(1, t)), (Poly(t**2, t), Poly(1, t)), (Poly(t**3, t), Poly(1, t))]
79 G = [(Poly(2*x, t), Poly(t, t)), (Poly(-x, t), Poly(t, t))]
103 (Poly(t, t), Poly(0, t), [Poly(2*x, t), Poly(-x, t)],
126 G = [Poly(t**6), Poly(x*t**5, t), Poly(t**3, t), Poly(x*t**2, t), Poly(1 + x, t)]
[all …]
H A Dtest_rde.py57 assert r == (Poly(t, t), (Poly(0, t), Poly(1, t)))
69 (Poly(t, t), (Poly(t**3 - t**2 + t - 1, t), Poly(1, t)), (Poly(1, t),
76 assert special_denom(Poly(1, t), Poly(t**2, t), Poly(1, t), Poly(t**2 - 1, t),
78 (Poly(1, t), Poly(t**2 - 1, t), Poly(t**2 - 1, t), Poly(t, t))
87 assert special_denom(Poly(1, t0), Poly(I*k, t0), Poly(1, t0), Poly(t0, t0),
89 (Poly(1, t0), Poly(I*k, t0), Poly(t0, t0), Poly(1, t0))
126 (Poly(0, t), Poly(0, t), 0, Poly(0, t), Poly(1, t))
130 (Poly(0, t), Poly(0, t), 0, Poly(0, t),
135 (Poly(0, x), Poly(x/2 - Rational(1, 4), x), 2, Poly(x**2 + x + 1, x), Poly(5*x/4, x))
142 …assert spde(Poly(x**2 - x, x), Poly(1, x), Poly(9*x**4 - 10*x**3 + 2*x**2, x), 4, DE) == (Poly(0, …
[all …]
H A Dtest_risch.py117 ((Poly(-x, t), Poly(t, t)), (Poly(0, t), Poly(1, t)), (Poly(-x, t), Poly(1, t)))
155 ((Poly(0, t), Poly(1, t)), (Poly(1, t), Poly(1 + t)),
421 (Poly(t1 + t0, t1), Poly(1, t1), [Poly(1, x,), Poly(t0, t0),
428 (Poly(t0**2 + t0, t0), Poly(1, t0), [Poly(1, x), Poly(t0/2, t0)],
454 (Poly(t0, t0), Poly(1, t0), [Poly(1, x), Poly(t0/2, t0)], [x, t0],
458 (Poly(t0, t0), Poly(1, t0), [Poly(1, x), Poly(t0/2, t0)], [x, t0],
471 (Poly(t0*t1, t1), Poly(1, t1), [Poly(1, x), Poly(1/x, t0),
479 (Poly(t0*x, t1), Poly(1, t1), [Poly(1, x), Poly(1/x, t0), Poly((t0 +
486 (Poly(t0, t0), Poly(2, t0), [Poly(1, x), Poly(1/x, t0)], [x, t0],
493 (Poly(t0*t1, t1), Poly(1, t1), [Poly(1, x), Poly(1/x, t0),
[all …]
/dports/math/miracl/miracl-5.6/
H A Dpoly.h39 Poly(const Poly&);
71 friend Poly compose(const Poly&,const Poly&,const Poly&);
72 friend Poly compose(const Poly&,const Poly&);
73 friend Poly modmult(const Poly&,const Poly&,const Poly&);
78 friend Poly reduce(const Poly&,const Poly&);
79 friend Poly operator*(const Poly&,const Poly&);
80 friend Poly operator%(const Poly&,const Poly&);
81 friend Poly operator/(const Poly&,const Poly&);
82 friend Poly operator-(const Poly&,const Poly&);
83 friend Poly operator+(const Poly&,const Poly&);
[all …]
H A Dpoly.cpp24 Poly::Poly(Variable &x) in Poly() function in Poly
99 Poly::Poly(const Poly& p) in Poly() function in Poly
112 Poly::~Poly() in ~Poly()
171 Poly compose(const Poly& g,const Poly& b,const Poly& m) in compose()
192 Poly compose(const Poly& g,const Poly& b) in compose()
212 Poly reduce(const Poly &x,const Poly &m) in reduce()
263 Poly modmult(const Poly &x,const Poly &y,const Poly &m) in modmult()
370 Poly& Poly::operator%=(const Poly&v) in operator %=()
442 Poly gcd(const Poly& f,const Poly& g) in gcd()
628 Poly &Poly::operator=(const Poly& p) in operator =()
[all …]
/dports/math/py-sympy/sympy-1.9/sympy/integrals/tests/
H A Dtest_prde.py22 G = [(Poly(t, t), Poly(1 + t**2, t)), (Poly(1, t), Poly(x + x*t**2, t))]
41 G = [(Poly(t, t), Poly(1, t)), (Poly(t**2, t), Poly(1, t)), (Poly(t**3, t), Poly(1, t))]
44 (Poly(t + 1, t), Poly(t**2, t), [(Poly(t, t), Poly(1, t)),
45 (Poly(t**2, t), Poly(1, t)), (Poly(t**3, t), Poly(1, t))], Poly(1, t))
46 G = [(Poly(t, t), Poly(1, t)), (Poly(1, t), Poly(t, t))]
48 (Poly(1, t), Poly(t**2 - 1, t), [(Poly(t**2, t), Poly(1, t)),
49 (Poly(1, t), Poly(1, t))], Poly(t, t))
52 G = [(Poly(t, t), Poly(t**2, t)), (Poly(2*t, t), Poly(t, t))]
73 G = [(Poly(t, t), Poly(1, t)), (Poly(t**2, t), Poly(1, t)), (Poly(t**3, t), Poly(1, t))]
78 G = [(Poly(2*x, t), Poly(t, t)), (Poly(-x, t), Poly(t, t))]
[all …]
H A Dtest_rde.py52 assert r == (Poly(t, t), (Poly(0, t), Poly(1, t)))
59 Poly(1, x), Poly(x, x), DE))
64 (Poly(t, t), (Poly(t**3 - t**2 + t - 1, t), Poly(1, t)), (Poly(1, t),
65 Poly(1, t)), Poly(t, t))
71 assert special_denom(Poly(1, t), Poly(t**2, t), Poly(1, t), Poly(t**2 - 1, t),
73 (Poly(1, t), Poly(t**2 - 1, t), Poly(t**2 - 1, t), Poly(t, t))
82 assert special_denom(Poly(1, t0), Poly(I*k, t0), Poly(1, t0), Poly(t0, t0),
88 assert special_denom(Poly(1, t), Poly(t**2, t), Poly(1, t), Poly(t**2 - 1, t),
93 … raises(ValueError, lambda: special_denom(Poly(1, t), Poly(t**2, t), Poly(1, t), Poly(t**2 - 1, t),
130 (Poly(0, t), Poly(0, t), 0, Poly(0, t), Poly(1, t, domain='ZZ(x)'))
[all …]
H A Dtest_risch.py431 (Poly(t1 + t0, t1), Poly(1, t1), [Poly(1, x,), Poly(t0, t0),
438 (Poly(t0**2 + t0, t0), Poly(1, t0), [Poly(1, x), Poly(t0/2, t0)],
441 (Poly((1 + t0)*t1 + t0, t1), Poly(1, t1), [Poly(1, x), Poly(t0, t0),
459 (Poly(t0, t0), Poly(1, t0), [Poly(1, x), Poly(t0/2, t0)], [x, t0],
463 (Poly(t0, t0), Poly(1, t0), [Poly(1, x), Poly(t0/2, t0)], [x, t0],
475 (Poly(t0*t1, t1), Poly(1, t1), [Poly(1, x), Poly(1/x, t0),
484 (Poly(t0*x, t1), Poly(1, t1), [Poly(1, x), Poly(1/x, t0), Poly((t0 +
488 (Poly(y*t0, t0), Poly(1, t0), [Poly(1, x), Poly(1/x, t0)], [x, t0],
492 (Poly(t0, t0), Poly(2, t0), [Poly(1, x), Poly(1/x, t0)], [x, t0],
499 (Poly(t0*t1, t1), Poly(1, t1), [Poly(1, x), Poly(1/x, t0),
[all …]
/dports/math/py-sympy/sympy-1.9/sympy/polys/tests/
H A Dtest_polytools.py678 assert Poly(0, x).add(Poly(0, x)) == Poly(0, x)
679 assert Poly(0, x) + Poly(0, x) == Poly(0, x)
681 assert Poly(1, x).add(Poly(0, x)) == Poly(1, x)
695 assert Poly(0, x).sub(Poly(0, x)) == Poly(0, x)
696 assert Poly(0, x) - Poly(0, x) == Poly(0, x)
698 assert Poly(1, x).sub(Poly(0, x)) == Poly(1, x)
712 assert Poly(0, x).mul(Poly(0, x)) == Poly(0, x)
713 assert Poly(0, x) * Poly(0, x) == Poly(0, x)
715 assert Poly(2, x).mul(Poly(4, x)) == Poly(8, x)
1862 F, G, H = Poly(f), Poly(g), Poly(h)
[all …]
/dports/cad/repsnapper/repsnapper-2.5a4/src/slicer/
H A Dlayer.h58 bool setMinMax(const Poly &poly);
59 bool setMinMax(const vector<Poly> &polys);
71 vector<Poly> getMergedPolygons(const vector<Poly> &polys);
78 void CalcRaftInfill (const vector<Poly> &polys,
86 vector<Poly> &thickpolys, vector<Poly> &thinpolys);
99 void SetPolygons(vector<Poly> &polys) ;
111 const vector<Poly> * GetInnerShell() const;
112 const vector<Poly> * GetOuterShell() const;
115 vector<Poly> getOverhangs() const;
128 void setSkirtPolygons(const vector<Poly> &poly);
[all …]
/dports/math/py-numpy/numpy-1.20.3/numpy/polynomial/tests/
H A Dtest_classes.py29 def Poly(request): function
52 Poly1 = Poly
53 Poly2 = Poly
214 p1 = Poly(c1)
215 p2 = Poly(c2)
236 p1 = Poly(c1)
237 p2 = Poly(c2)
257 p1 = Poly(c1)
258 p2 = Poly(c2)
281 p1 = Poly(c1)
[all …]
/dports/math/singular/Singular-Release-4-2-1/kernel/GBEngine/
H A Djanet.h24 } Poly; typedef
30 Poly *info;
42 Poly *ended;
64 void NFL(Poly *,TreeM *);
65 void PNF(Poly *,TreeM *);
67 void InitProl(Poly *p);
70 int GetMult(Poly *,int);
78 void InitLead(Poly *);
82 int ProlCompare(Poly *, Poly *);
91 int ReducePoly(Poly *x,Poly *y);
[all …]
/dports/math/symengine/symengine-0.8.1/symengine/
H A Dseries.h199 static inline Poly series_invert(const Poly &s, const Poly &var, in series_invert()
284 static inline Poly series_atan(const Poly &s, const Poly &var, in series_atan()
314 static inline Poly series_tan(const Poly &s, const Poly &var, in series_tan()
353 static inline Poly series_cot(const Poly &s, const Poly &var, in series_cot()
376 static inline Poly series_sin(const Poly &s, const Poly &var, in series_sin()
406 static inline Poly series_csc(const Poly &s, const Poly &var, in series_csc()
413 static inline Poly series_asin(const Poly &s, const Poly &var, in series_asin()
455 static inline Poly series_cos(const Poly &s, const Poly &var, in series_cos()
486 static inline Poly series_sec(const Poly &s, const Poly &var, in series_sec()
493 static inline Poly series_log(const Poly &s, const Poly &var, in series_log()
[all …]
/dports/print/scribus-devel/scribus-1.5.7/scribus/third_party/lib2geom/
H A Dpoly.h20 Poly operator+(const Poly& p) const {
36 Poly operator-(const Poly& p) const {
52 Poly operator-=(const Poly& p) {
121 Poly operator*(const Poly& p) const;
139 Poly(const Poly& p) : std::vector<double>(p) {} in Poly() function
173 Poly integral(Poly const & p);
174 Poly derivative(Poly const & p);
175 Poly divide_out_root(Poly const & p, double x);
176 Poly compose(Poly const & a, Poly const & b);
177 Poly divide(Poly const &a, Poly const &b, Poly &r);
[all …]
H A Dpoly.cpp3 Poly Poly::operator*(const Poly& p) const { in operator *()
4 Poly result; in operator *()
40 Poly p(pp); in solve()
88 Poly integral(Poly const & p) { in integral()
89 Poly result; in integral()
100 Poly derivative(Poly const & p) { in derivative()
112 Poly compose(Poly const & a, Poly const & b) { in compose()
143 Poly divide(Poly const &a, Poly const &b, Poly &r) { in divide()
144 Poly c; in divide()
169 Poly gcd(Poly const &a, Poly const &b, const double tol) { in gcd()
[all …]
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/3rdparty/2geom/include/2geom/
H A Dpolynomial.h59 Poly operator+(const Poly& p) const {
75 Poly operator-(const Poly& p) const {
91 Poly operator-=(const Poly& p) {
146 Poly operator*(const Poly& p) const;
164 Poly(const Poly& p) : std::vector<double>(p) {} in Poly() function
198 Poly integral(Poly const & p);
199 Poly derivative(Poly const & p);
200 Poly divide_out_root(Poly const & p, double x);
201 Poly compose(Poly const & a, Poly const & b);
202 Poly divide(Poly const &a, Poly const &b, Poly &r);
[all …]
/dports/math/lib2geom/lib2geom-1.1/include/2geom/
H A Dpolynomial.h59 Poly operator+(const Poly& p) const {
75 Poly operator-(const Poly& p) const {
91 Poly operator-=(const Poly& p) {
146 Poly operator*(const Poly& p) const;
164 Poly(const Poly& p) : std::vector<double>(p) {} in Poly() function
198 Poly integral(Poly const & p);
199 Poly derivative(Poly const & p);
200 Poly divide_out_root(Poly const & p, double x);
201 Poly compose(Poly const & a, Poly const & b);
202 Poly divide(Poly const &a, Poly const &b, Poly &r);
[all …]
/dports/games/xpat2/xpat2-1.07/src/
H A Darrows.c60 Poly[1].x = rem_dx-adx; in polygon_y()
61 Poly[1].y = rem_dy-ady; in polygon_y()
62 Poly[2].x = rem_dx; in polygon_y()
63 Poly[2].y = rem_dy+ady; in polygon_y()
64 Poly[3].x = rem_dx+adx; in polygon_y()
65 Poly[3].y = rem_dy-ady; in polygon_y()
107 Poly[1].x = rem_dx-adx; in polygon_x()
108 Poly[1].y = rem_sy-ady; in polygon_x()
109 Poly[2].x = rem_dx+adx; in polygon_x()
110 Poly[2].y = rem_sy; in polygon_x()
[all …]
/dports/security/palisade/palisade-release-d76213499af44558170cca6c72c5314755fec23c/src/core/unittest/
H A DUnitTestTrapdoor.cpp74 std::pair<Matrix<Poly>, RLWETrapdoorPair<Poly>> trapPair =
106 std::pair<Matrix<Poly>, RLWETrapdoorPair<Poly>> trapPair =
147 std::pair<Matrix<Poly>, RLWETrapdoorPair<Poly>> trapPair =
204 std::pair<Matrix<Poly>, RLWETrapdoorPair<Poly>> trapPair =
281 Poly::DugType dug = Poly::DugType();
311 Poly uEst;
409 Poly::DugType dug = Poly::DugType();
463 Poly uEst;
507 Poly::DugType dug = Poly::DugType();
521 Matrix<Poly> z = RLWETrapdoorUtility<Poly>::GaussSamp(
[all …]
/dports/math/symengine/symengine-0.8.1/symengine/polys/
H A Duintpoly_flint.h19 typename Poly>
33 const Poly &s = down_cast<const Poly &>(o); in compare()
156 typename Poly>
177 typename Poly>
178 RCP<const Poly> gcd_upoly(const UFlintPoly<Container, BaseType, Poly> &a, in gcd_upoly()
187 typename Poly>
188 RCP<const Poly> lcm_upoly(const UFlintPoly<Container, BaseType, Poly> &a, in lcm_upoly()
197 typename Poly>
198 RCP<const Poly> pow_upoly(const UFlintPoly<Container, BaseType, Poly> &a, in pow_upoly()
205 typename Poly>
[all …]
/dports/math/latte-integrale/latte-version_1_7_6/code/latte/
H A Dcount.cpp362 if (not Poly->dualized && Poly->cones != NULL in mainCountDriver()
415 dualizeCones(Poly->cones, Poly->numOfVars, params); in mainCountDriver()
426 dualizeCones(Poly->cones, Poly->numOfVars, params); in mainCountDriver()
435 dualizeCones(Poly->cones, Poly->numOfVars, params); in mainCountDriver()
446 dualizeCones(Poly->cones, Poly->numOfVars, params); in mainCountDriver()
458 irrationalizeCones(Poly->cones, Poly->numOfVars); in mainCountDriver()
627 Poly->cones = ProjectUp(Poly->cones, in mainCountDriver()
634 printListCone(Poly->cones, Poly->numOfVars); in mainCountDriver()
646 Poly->cones = ProjectUp2(Poly->cones, in mainCountDriver()
664 ZZ number = Residue(Poly->cones, Poly->numOfVars); in mainCountDriver()
[all …]
/dports/devel/folly/folly-2021.12.27.00/folly/test/
H A DPolyTest.cpp60 TEST(Poly, SemiRegular) { in TEST() argument
348 !std::is_constructible<Poly<ISemiRegular&>, Poly<ISemiRegular const&>&>:: in TEST()
352 !std::is_constructible<Poly<ISemiRegular>, Poly<ISemiRegular const&>&>:: in TEST()
394 TEST(Poly, Singular) { in TEST() argument
439 Poly<Foo&> r = p; in TEST()
559 TEST(Poly, Move) { in TEST() argument
564 !std::is_convertible<Poly<IMoveOnly&>, Poly<IMoveOnly&&>>::value, ""); in TEST()
585 TEST(Poly, RValueRef) { in TEST() argument
615 TEST(Poly, Function) { in TEST() argument
690 TEST(Poly, Sig) { in TEST() argument
[all …]
/dports/math/py-sympy/sympy-1.9/sympy/matrices/tests/
H A Dtest_normalforms.py3 from sympy import Symbol, Poly
16 m = Matrix([[Poly(x-1), Poly(1, x),Poly(-1,x)],
17 [0, Poly(x), Poly(-1,x)],
18 [Poly(0,x),Poly(-1,x),Poly(x)]])
39 m = Matrix([[Poly(x-1), Poly(1, x),Poly(-1,x)],
40 [0, Poly(x), Poly(-1,x)],
41 [Poly(0,x),Poly(-1,x),Poly(x)]])
43 invs = (Poly(1, x, domain='QQ'), Poly(x - 1, domain='QQ'), Poly(x**2 - 1, domain='QQ'))
/dports/graphics/proj/proj-7.2.1/datum/
H A DDK_bornholm.pol39 # Poly NORTH :: e-degree = 0 : n-degree = 6
43 # Poly NORTH :: e-degree = 1 : n-degree = 5
46 # Poly NORTH :: e-degree = 2 : n-degree = 4
49 # Poly NORTH :: e-degree = 3 : n-degree = 3
52 # Poly NORTH :: e-degree = 4 : n-degree = 2
54 # Poly NORTH :: e-degree = 5 : n-degree = 1
56 # Poly NORTH :: e-degree = 6 : n-degree = 0
61 # Poly EAST :: n-degree = 0 : e-degree = 6
65 # Poly EAST :: n-degree = 1 : e-degree = 5
68 # Poly EAST :: n-degree = 2 : e-degree = 4
[all …]
H A DFO_fk89.pol33 # Poly NORTH :: e-degree = 0 : n-degree = 10
39 # Poly NORTH :: e-degree = 1 : n-degree = 9
45 # Poly NORTH :: e-degree = 2 : n-degree = 8
50 # Poly NORTH :: e-degree = 3 : n-degree = 7
55 # Poly NORTH :: e-degree = 4 : n-degree = 6
60 # Poly NORTH :: e-degree = 5 : n-degree = 5
64 # Poly NORTH :: e-degree = 6 : n-degree = 4
68 # Poly NORTH :: e-degree = 7 : n-degree = 3
72 # Poly NORTH :: e-degree = 8 : n-degree = 2
75 # Poly NORTH :: e-degree = 9 : n-degree = 1
[all …]

12345678910>>...85