/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() ); } 345 void compute( const OtherPolynomial& poly ) 347 eigen_assert( Scalar(0) != poly[poly.size()-1] ); 348 internal::companion<Scalar,_Deg> companion( poly ); 356 inline PolynomialSolver( const OtherPolynomial& poly ){ 357 compute( poly ); } [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
polygon.c | 70 static void polygon_print(struct polygon *poly) 74 debug_printf("Polygon %p, size = %d\n", poly, poly->num_verts); 75 for (i = 0; i < poly->num_verts; ++i) { 76 vert = ptr_to_vertex(poly->data, i); 86 struct polygon *poly = (struct polygon*)malloc(sizeof(struct polygon)); local 88 poly->data = malloc(sizeof(float) * COMPONENTS * size); 89 poly->size = size; 90 poly->num_verts = 0; 91 poly->dirty = VG_TRUE 99 struct polygon *poly = polygon_create(size); local 337 struct polygon *poly = (((struct polygon**)polys->data)[i]); local [all...] |
polygon.h | 39 void polygon_destroy(struct polygon *poly); 41 void polygon_resize(struct polygon *poly, int new_size); 42 int polygon_size(struct polygon *poly); 44 int polygon_vertex_count(struct polygon *poly); 45 float * polygon_data(struct polygon *poly);
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/crcmod/python2/crcmod/ |
crcmod.py | 70 poly -- The generator polynomial to use in calculating the CRC. The value 88 def __init__(self, poly, initCrc=~0L, rev=True, xorOut=0, initialize=True): 94 (sizeBits, initCrc, xorOut) = _verifyParams(poly, initCrc, xorOut) 99 self.poly = poly 102 (crcfun, table) = _mkCrcFun(poly, sizeBits, initCrc, rev, xorOut) 110 lst.append('poly = 0x%X' % self.poly) 124 n = Crc(poly=None, initialize=False) 132 n.poly = self.pol [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/crcmod_osx/crcmod/ |
crcmod.py | 70 poly -- The generator polynomial to use in calculating the CRC. The value 88 def __init__(self, poly, initCrc=~0L, rev=True, xorOut=0, initialize=True): 94 (sizeBits, initCrc, xorOut) = _verifyParams(poly, initCrc, xorOut) 99 self.poly = poly 102 (crcfun, table) = _mkCrcFun(poly, sizeBits, initCrc, rev, xorOut) 110 lst.append('poly = 0x%X' % self.poly) 124 n = Crc(poly=None, initialize=False) 132 n.poly = self.pol [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/crcmod/python3/crcmod/ |
crcmod.py | 71 poly -- The generator polynomial to use in calculating the CRC. The value 89 def __init__(self, poly, initCrc=~0, rev=True, xorOut=0, initialize=True): 95 (sizeBits, initCrc, xorOut) = _verifyParams(poly, initCrc, xorOut) 100 self.poly = poly 103 (crcfun, table) = _mkCrcFun(poly, sizeBits, initCrc, rev, xorOut) 111 lst.append('poly = 0x%X' % self.poly) 125 n = Crc(poly=None, initialize=False) 133 n.poly = self.pol [all...] |
/external/gptfdisk/ |
crc32.cc | 52 unsigned long crc, poly;
local 55 poly = 0xEDB88320L;
63 crc = (crc >> 1) ^ poly;
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/ |
com.badlogic.gdx.physics.box2d.PolygonShape.cpp | 11 b2PolygonShape* poly = new b2PolygonShape(); local 12 return (jlong)poly; 23 b2PolygonShape* poly = (b2PolygonShape*)addr; local 29 poly->Set(verticesOut, numVertices); 41 b2PolygonShape* poly = (b2PolygonShape*)addr; local 42 poly->SetAsBox(hx, hy); 52 b2PolygonShape* poly = (b2PolygonShape*)addr; local 53 poly->SetAsBox( hx, hy, b2Vec2( centerX, centerY ), angle ); 63 b2PolygonShape* poly = (b2PolygonShape*)addr; local 64 return poly->GetVertexCount() 75 b2PolygonShape* poly = (b2PolygonShape*)addr; local [all...] |
/frameworks/base/libs/hwui/ |
AmbientShadow.h | 34 static void createAmbientShadow(bool isCasterOpaque, const Vector3* poly,
|
SpotShadow.h | 31 float lightSize, const Vector3* poly, int polyLength, 44 static float rayIntersectPoly(const Vector2* poly, int polyLength, 50 static void sort(Vector2* poly, int polyLength, const Vector2& center); 56 static bool testPointInsidePolygon(const Vector2 testPoint, const Vector2* poly, int len); 62 const Vector3* poly, int polyLength, VertexBuffer& retstrips, const Vector2& centroid); 71 static void dumpPolygon(const Vector2* poly, int polyLength, const char* polyName); 72 static void dumpPolygon(const Vector3* poly, int polyLength, const char* polyName);
|
/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);
|
/external/ImageMagick/PerlMagick/demo/ |
tree.pl | 28 motionsub => sub{ push( @poly, @_[0..1] ); }
|
/external/lzma/xz-embedded/ |
xz_crc32.c | 32 const uint32_t poly = 0xEDB88320; local 41 r = (r >> 1) ^ (poly & ~((r & 1) - 1));
|
xz_crc64.c | 23 const uint64_t poly = 0xC96C5795D7870F42; local 32 r = (r >> 1) ^ (poly & ~((r & 1) - 1));
|
/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/ceres-solver/internal/ceres/ |
polynomial_test.cc | 51 Vector poly(1); 52 poly(0) = value; 53 return poly; 56 // Return the polynomial p(x) = poly(x) * (x - root). 57 Vector AddRealRoot(const Vector& poly, double root) { 58 Vector poly2(poly.size() + 1); 60 poly2.head(poly.size()) += poly; 61 poly2.tail(poly.size()) -= root * poly; 96 Vector poly = ConstantPolynomial(1.23); local 130 Vector poly = ConstantPolynomial(1.23); local 174 Vector poly = ConstantPolynomial(1.23); local [all...] |
/external/opencv3/modules/features2d/test/ |
test_orb.cpp | 58 Point poly[] = {Point(100, 20), Point(300, 50), Point(400, 200), Point(10, 500)}; local 59 fillConvexPoly(roi, poly, int(sizeof(poly) / sizeof(poly[0])), Scalar(255));
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/check/ |
CRC64.java | 13 private static final long poly = 0xC96C5795D7870F42L; field in class:CRC64 23 r = (r >>> 1) ^ poly;
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/box2d/ |
ContinuousTest.java | 56 PolygonShape poly = new PolygonShape();
local 57 poly.setAsBox(0.2f, 1.0f, new Vector2(0.5f, 1.0f), 0);
58 body.createFixture(poly, 0);
59 poly.dispose();
|
/external/opencv3/3rdparty/include/ffmpeg_/libavutil/ |
crc.h | 49 * exponent of the corresponding polynomial (both for poly and 56 * @param poly generator polynomial without the x**bits coefficient, in the 61 int av_crc_init(AVCRC *ctx, int le, int bits, uint32_t poly, int ctx_size);
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
shadows.rs | 28 static float poly[] = { 39 static float fastevalPoly(float *poly,int n, float x){ 42 float sum = poly[0]+poly[1]*f; 46 sum += poly[i]*f; 182 poly[i] = fastevalPoly(shadowFilterMap+i*2,2 , s); 188 float v = (fastevalPoly(poly, 5, hsv.x * (1.f / 4080.f)) * 4080.f);
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
shadows.rs | 28 static float poly[] = { 39 static float fastevalPoly(float *poly,int n, float x){ 42 float sum = poly[0]+poly[1]*f; 46 sum += poly[i]*f; 182 poly[i] = fastevalPoly(shadowFilterMap+i*2,2 , s); 188 float v = (fastevalPoly(poly, 5, hsv.x * (1.f / 4080.f)) * 4080.f);
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
shadows.rs | 28 static float poly[] = { 39 static float fastevalPoly(float *poly,int n, float x){ 42 float sum = poly[0]+poly[1]*f; 46 sum += poly[i]*f; 182 poly[i] = fastevalPoly(shadowFilterMap+i*2,2 , s); 188 float v = (fastevalPoly(poly, 5, hsv.x * (1.f / 4080.f)) * 4080.f);
|
/frameworks/rs/java/tests/ScriptGroupTest/src/com/android/rs/sgtest/ |
shadows_f.rs | 28 static float poly[] = { 39 static float fastevalPoly(float *poly,int n, float x){ 42 float sum = poly[0]+poly[1]*f; 46 sum += poly[i]*f; 182 poly[i] = fastevalPoly(shadowFilterMap+i*2,2 , s); 188 float v = (fastevalPoly(poly, 5, hsv.x * (1.f / 4080.f)) * 4080.f);
|