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

1 2 3

  /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/chromium_org/third_party/mesa/src/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);
arc.h 63 struct polygon *poly,
bezier.h 58 struct polygon *poly);
  /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);
arc.h 63 struct polygon *poly,
bezier.h 58 struct polygon *poly);
  /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;
  /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/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/chromium_org/third_party/openssl/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...]
  /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...]
  /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/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d11app/
d3d11u.h 42 void poly(unsigned a, unsigned b, unsigned c) function in struct:triangle_list_indices
49 void poly(unsigned a, unsigned b, unsigned c, unsigned d) function in struct:triangle_list_indices
51 poly(a, b, c);
52 poly(a, c, d);
55 void poly(unsigned a, unsigned b, unsigned c, unsigned d, unsigned e) function in struct:triangle_list_indices
57 poly(a, b, c, d);
58 poly(a, d, e);
61 void poly(unsigned a, unsigned b, unsigned c, unsigned d, unsigned e, unsigned f) function in struct:triangle_list_indices
63 poly(a, b, c, d, e);
64 poly(a, e, f)
67 void poly(unsigned a, unsigned b, unsigned c, unsigned d, unsigned e, unsigned f, unsigned g) function in struct:triangle_list_indices
73 void poly(unsigned a, unsigned b, unsigned c, unsigned d, unsigned e, unsigned f, unsigned g, unsigned h) function in struct:triangle_list_indices
    [all...]
  /external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11app/
d3d11u.h 42 void poly(unsigned a, unsigned b, unsigned c) function in struct:triangle_list_indices
49 void poly(unsigned a, unsigned b, unsigned c, unsigned d) function in struct:triangle_list_indices
51 poly(a, b, c);
52 poly(a, c, d);
55 void poly(unsigned a, unsigned b, unsigned c, unsigned d, unsigned e) function in struct:triangle_list_indices
57 poly(a, b, c, d);
58 poly(a, d, e);
61 void poly(unsigned a, unsigned b, unsigned c, unsigned d, unsigned e, unsigned f) function in struct:triangle_list_indices
63 poly(a, b, c, d, e);
64 poly(a, e, f)
67 void poly(unsigned a, unsigned b, unsigned c, unsigned d, unsigned e, unsigned f, unsigned g) function in struct:triangle_list_indices
73 void poly(unsigned a, unsigned b, unsigned c, unsigned d, unsigned e, unsigned f, unsigned g, unsigned h) function in struct:triangle_list_indices
    [all...]
  /external/chromium_org/v8/test/mjsunit/regress/
regress-deep-proto.js 28 function poly(x) { function
42 poly(one);
43 poly(two);
44 poly(three);

Completed in 1231 milliseconds

1 2 3