HomeSort by relevance Sort by last modified time
    Searched refs:poly (Results 1 - 25 of 40) sorted by null

1 2

  /external/eigen/unsupported/Eigen/src/Polynomials/
PolynomialUtils.h 18 * \param[in] poly : the vector of coefficients of the polynomial ordered
19 * by degrees i.e. poly[i] is the coefficient of degree i of the polynomial
28 T poly_eval_horner( const Polynomials& poly, const T& x )
30 T val=poly[poly.size()-1];
31 for(DenseIndex i=poly.size()-2; i>=0; --i ){
32 val = val*x + poly[i]; }
39 * \param[in] poly : the vector of coefficients of the polynomial ordered
40 * by degrees i.e. poly[i] is the coefficient of degree i of the polynomial
46 T poly_eval( const Polynomials& poly, const T& x
    [all...]
PolynomialSolver.h 43 inline void setPolynomial( const OtherPolynomial& poly ){
44 m_roots.resize(poly.size()); }
48 inline PolynomialSolverBase( const OtherPolynomial& poly ){
49 setPolynomial( poly() ); }
342 void compute( const OtherPolynomial& poly )
344 assert( Scalar(0) != poly[poly.size()-1] );
345 internal::companion<Scalar,_Deg> companion( poly );
353 inline PolynomialSolver( const OtherPolynomial& poly ){
354 compute( poly ); }
    [all...]
Companion.h 75 void setPolynomial( const VectorType& poly )
77 const Index deg = poly.size()-1;
78 m_monic = -1/poly[deg] * poly.head(deg);
84 companion( const VectorType& poly ){
85 setPolynomial( poly ); }
  /external/ceres-solver/internal/ceres/
polynomial_solver_test.cc 50 Vector poly(1);
51 poly(0) = value;
52 return poly;
55 // Return the polynomial p(x) = poly(x) * (x - root).
56 Vector AddRealRoot(const Vector& poly, double root) {
57 Vector poly2(poly.size() + 1);
59 poly2.head(poly.size()) += poly;
60 poly2.tail(poly.size()) -= root * poly;
95 Vector poly = ConstantPolynomial(1.23); local
129 Vector poly = ConstantPolynomial(1.23); local
173 Vector poly = ConstantPolynomial(1.23); local
    [all...]
  /packages/apps/Gallery2/jni/filters/
shadows.c 36 double *poly = (double *) malloc(5*sizeof(double)); local
38 poly[i] = fastevalPoly(shadowFilterMap+i*2,2 , s);
47 double v = (fastevalPoly(poly,5,hsv[0]/4080.)*4080);
54 free(poly);
hsv.c 20 double fastevalPoly(double *poly,int n, double x){
23 double sum = poly[0]+poly[1]*f;
27 sum += poly[i]*f;
filters.h 52 extern double fastevalPoly(double *poly,int n, double x);
  /external/srtp/test/
lfsr.c 120 weight(uint32_t poly) {
124 wt += octet_weight[poly & 0xff];
125 wt += octet_weight[(poly >> 8) & 0xff];
126 wt += octet_weight[(poly >> 16) & 0xff];
127 wt += octet_weight[(poly >> 24)];
137 period(uint32_t poly) {
149 x = (x >> 1) ^ poly;
167 * code generated by the polynomial poly
176 weight_distribution2(uint32_t poly, int *A) {
194 x = (x >> 1) ^ poly;
    [all...]
  /external/dropbear/libtomcrypt/src/encauth/ocb/
ocb_init.c 50 int poly, x, y, m, err; local
63 for (poly = 0; poly < (int)(sizeof(polys)/sizeof(polys[0])); poly++) {
64 if (polys[poly].len == ocb->block_len) {
68 if (polys[poly].len != ocb->block_len) {
102 ocb->Ls[x][y] ^= polys[poly].poly_mul[y];
118 ocb->Lr[x] ^= polys[poly].poly_div[x];
  /external/dropbear/libtomcrypt/src/mac/pmac/
pmac_init.c 48 int poly, x, y, m, err; local
61 for (poly = 0; poly < (int)(sizeof(polys)/sizeof(polys[0])); poly++) {
62 if (polys[poly].len == pmac->block_len) {
66 if (polys[poly].len != pmac->block_len) {
105 pmac->Ls[x][y] ^= polys[poly].poly_mul[y];
121 pmac->Lr[x] ^= polys[poly].poly_div[x];
  /external/openssl/crypto/ec/
ec2_smpl.c 164 group->poly[0] = 0;
165 group->poly[1] = 0;
166 group->poly[2] = 0;
167 group->poly[3] = 0;
168 group->poly[4] = 0;
169 group->poly[5] = -1;
182 dest->poly[0] = src->poly[0];
183 dest->poly[1] = src->poly[1]
    [all...]
ec2_oct.c 117 if (!BN_GF2m_mod_arr(x, x_, group->poly)) goto err;
120 if (!BN_GF2m_mod_sqrt_arr(y, &group->b, group->poly, ctx)) goto err;
128 if (!BN_GF2m_mod_solve_quad_arr(z, tmp, group->poly, ctx))
ec_asn1.c 75 while (group->poly[i] != 0)
93 || !((group->poly[0] != 0) && (group->poly[1] != 0) && (group->poly[2] == 0)))
100 *k = group->poly[1];
111 || !((group->poly[0] != 0) && (group->poly[1] != 0) && (group->poly[2] != 0) && (group->poly[3] != 0) && (group->poly[4] == 0))
    [all...]
  /frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
shadows.rs 28 static double poly[] = {
39 static double fastevalPoly(double *poly,int n, double x){
42 double sum = poly[0]+poly[1]*f;
46 sum += poly[i]*f;
182 poly[i] = fastevalPoly(shadowFilterMap+i*2,2 , s);
188 double v = (fastevalPoly(poly,5,hsv.x/4080.)*4080);
  /frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
shadows.rs 28 static double poly[] = {
39 static double fastevalPoly(double *poly,int n, double x){
42 double sum = poly[0]+poly[1]*f;
46 sum += poly[i]*f;
182 poly[i] = fastevalPoly(shadowFilterMap+i*2,2 , s);
188 double v = (fastevalPoly(poly,5,hsv.x/4080.)*4080);
  /frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
shadows.rs 28 static double poly[] = {
39 static double fastevalPoly(double *poly,int n, double x){
42 double sum = poly[0]+poly[1]*f;
46 sum += poly[i]*f;
182 poly[i] = fastevalPoly(shadowFilterMap+i*2,2 , s);
188 double v = (fastevalPoly(poly,5,hsv.x/4080.)*4080);
  /external/clang/utils/TableGen/
NeonEmitter.cpp 99 ClassS, // signed/unsigned/poly, e.g., "s8", "u8" or "p8" suffix
293 static char ClassifyType(StringRef ty, bool &quad, bool &poly, bool &usgn) {
302 // remember poly.
304 poly = true;
320 static char ModType(const char mod, char type, bool &quad, bool &poly,
324 if (poly) {
325 poly = false;
331 poly = false;
337 poly = false;
398 bool poly = false local
486 bool poly = false; local
584 bool poly = false; local
1021 bool poly = false; local
1315 bool dummy, quad = false, poly = false; local
1512 bool quad = false, poly = false, usgn = false; local
    [all...]
  /external/clang/test/Sema/
flexible-array-init.c 47 struct polygon poly = { variable in typeref:struct:polygon
  /external/clang/test/SemaCXX/
dynamic-cast.cpp 13 struct Poly
18 struct PolyDerived : Poly
64 void poly() function
66 (void)dynamic_cast<A*>((Poly*)0);
67 (void)dynamic_cast<A&>(*((Poly*)0));
72 (void)dynamic_cast<Poly*>((A*)0); // expected-error {{'A' is not polymorphic}}
  /external/qemu/distrib/zlib-1.2.3/
crc32.c 110 unsigned long poly; /* polynomial exclusive-or pattern */ local
122 poly = 0UL;
124 poly |= 1UL << (31 - p[n]);
130 c = c & 1 ? poly ^ (c >> 1) : c >> 1;
  /external/quake/quake/src/QW/client/
gl_rsurf.c 322 // normal lightmaped poly
428 // normal lightmaped poly
816 // add the poly to the proper lightmap chain
1491 glpoly_t *poly; local
1501 poly = Hunk_Alloc (sizeof(glpoly_t) + (lnumverts-4) * VERTEXSIZE*sizeof(float));
1502 poly->next = fa->polys;
1503 poly->flags = fa->flags;
1504 fa->polys = poly;
1505 poly->numverts = lnumverts;
1527 VectorCopy (vec, poly->verts[i])
    [all...]
  /external/zlib/src/
crc32.c 94 z_crc_t poly; /* polynomial exclusive-or pattern */ local
106 poly = 0;
108 poly |= (z_crc_t)1 << (31 - p[n]);
114 c = c & 1 ? poly ^ (c >> 1) : c >> 1;
  /external/skia/legacy/src/core/
SkMatrix.cpp     [all...]
  /external/skia/src/core/
SkMatrix.cpp     [all...]
  /external/webkit/Source/WebCore/platform/graphics/wince/
PlatformPathWinCE.cpp 204 static void addArcPoint(PathPolygon& poly, const PathPoint& center, const PathPoint& radius, double angle)
209 if (poly.isEmpty() || poly.last() != p)
210 poly.append(p);
213 static void addArcPoints(PathPolygon& poly, const PlatformPathElement::ArcTo& data)
215 const PathPoint& startPoint = poly.last();
229 addArcPoint(poly, data.m_center, data.m_radius, curAngle);
231 if (poly.isEmpty() || poly.last() != data.m_end)
232 poly.append(data.m_end)
    [all...]

Completed in 734 milliseconds

1 2