Searched defs:weights (Results 1 - 22 of 22) sorted by relevance

/external/srec/srec/include/
H A Dswimodel.h39 const wtdata *weights; /*pointer to weights*/ member in struct:__anon12471
/external/freetype/src/base/
H A Dftlcdfil.c36 FT_Byte* weights = library->lcd_weights; local
54 fir[0] = weights[2] * val1;
55 fir[1] = weights[3] * val1;
56 fir[2] = weights[4] * val1;
61 fir[0] += weights[1] * val1;
62 fir[1] += weights[2] * val1;
63 fir[2] += weights[3] * val1;
64 fir[3] += weights[4] * val1;
72 pix = fir[0] + weights[0] * val;
73 fir[0] = fir[1] + weights[
[all...]
/external/jmonkeyengine/engine/src/core/com/jme3/animation/
H A DPoseTrack.java56 float[] weights; field in class:PoseTrack.PoseFrame
58 public PoseFrame(Pose[] poses, float[] weights) { argument
60 this.weights = weights;
71 result.weights = this.weights.clone();
87 out.write(weights, "weights", null);
93 weights = in.readFloatArray("weights", nul
[all...]
/external/llvm/include/llvm/Analysis/
H A DProfileDataLoader.h77 EdgeWeights weights = EdgeInformation.find(f)->second; local
79 assert((weights.find(e) != weights.end())
81 return weights.find(e)->second;
/external/openfst/src/include/fst/script/
H A Dshortest-path.h65 vector<typename Arc::Weight> weights; local
73 ArcFilter>::Construct(ifst, &weights);
78 ShortestPath(ifst, ofst, &weights, spopts);
85 ArcFilter>::Construct(ifst, &weights);
90 ShortestPath(ifst, ofst, &weights, spopts);
97 ArcFilter >::Construct(ifst, &weights);
102 ShortestPath(ifst, ofst, &weights, spopts);
109 ArcFilter>::Construct(ifst, &weights);
114 ShortestPath(ifst, ofst, &weights, spopts);
121 ArcFilter>::Construct(ifst, &weights);
[all...]
H A Drmepsilon.h174 vector<typename Arc::Weight> weights; local
176 RmEpsilonHelper(fst, &weights, opts);
178 // Copy the weights back
179 args->arg2->resize(weights.size());
180 for (unsigned i = 0; i < weights.size(); ++i) {
181 (*args->arg2)[i] = WeightClass(weights[i]);
H A Dshortest-distance.h95 const Fst<Arc> &fst, const vector<typename Arc::Weight> *weights) {
106 vector<typename Arc::Weight> weights; local
112 fst, &weights);
115 ShortestDistance(fst, &weights, sdopts);
122 fst, &weights);
126 ShortestDistance(fst, &weights, sdopts);
133 fst, &weights);
137 ShortestDistance(fst, &weights, sdopts);
145 fst, &weights);
149 ShortestDistance(fst, &weights, sdopt
94 Construct( const Fst<Arc> &fst, const vector<typename Arc::Weight> *weights) argument
[all...]
/external/opencv/cv/src/
H A Dcvlinefit.cpp46 icvFitLine2D_wods( CvPoint2D32f * points, int _count, float *weights, float *line ) argument
56 if( weights == 0 )
72 x += weights[i] * points[i].x;
73 y += weights[i] * points[i].y;
74 x2 += weights[i] * points[i].x * points[i].x;
75 y2 += weights[i] * points[i].y * points[i].y;
76 xy += weights[i] * points[i].x * points[i].y;
77 w += weights[i];
102 icvFitLine3D_wods( CvPoint3D32f * points, int count, float *weights, float *line ) argument
116 if( weights )
[all...]
/external/jmonkeyengine/engine/src/core/com/jme3/math/
H A DSpline.java28 private float[] weights; //weights of NURBS spline field in class:Spline
57 throw new IllegalArgumentException("To create NURBS spline use: 'public Spline(Vector3f[] controlPoints, float[] weights, float[] nurbKnots)' constructor!");
86 throw new IllegalArgumentException("To create NURBS spline use: 'public Spline(Vector3f[] controlPoints, float[] weights, float[] nurbKnots)' constructor!");
111 this.weights = new float[controlPoints.size()];
113 this.basisFunctionDegree = nurbKnots.size() - weights.length;
117 this.weights[i] = controlPoint.w;
379 return knots.get(weights.length);
391 * This method returns NURBS' spline weights.
392 * @return NURBS' spline weights
[all...]
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Dqueue.h240 // Given a vector that maps from states to weights and a Less
241 // comparison function object between weights, this class defines a
250 StateWeightCompare(const vector<Weight>* weights, const L &less) argument
251 : weights_(weights), less_(less) {}
642 // true if the semiring is idempotent and all the arc weights are equal to
/external/openfst/src/include/fst/
H A Dqueue.h271 // Given a vector that maps from states to weights and a Less
272 // comparison function object between weights, this class defines a
281 StateWeightCompare(const vector<Weight>& weights, const L &less) argument
282 : weights_(weights), less_(less) {}
683 // true if the semiring is idempotent and all the arc weights are equal to
739 // Given a vector that maps from states to weights representing the
741 // function object between weights, and an estimate E of the
751 AStarWeightCompare(const vector<Weight>& weights, const L &less, argument
753 : weights_(weights), less_(less), estimate_(estimate) {}
H A Daccumulator.h19 // Classes to accumulate arc weights. Useful for weight lookahead.
40 // This class accumulates arc weights using the semiring Plus().
77 // This class accumulates arc weights using the log semiring Plus()
79 // and from log64 weights.
148 // weights_. Position -1 means no pre-computed weights for that
157 // This class accumulates arc weights using the log semiring Plus()
159 // from log64 weights. The member function Init(fst) has to be called
188 vector<double> &weights = *data_->Weights(); local
199 state_weights_ = &(weights[pos]);
213 // Finds begin and end of pre-stored weights
371 AddWeights(StateId s, vector<double> *weights) argument
386 vector<double>* weights; // Accumulated weights for this state. member in struct:fst::CacheLogAccumulatorData::CacheState
[all...]
/external/skia/third_party/glu/libtess/
H A Dsweep.c414 void *data[4], GLfloat weights[4], int needed )
424 CALL_COMBINE_OR_COMBINE_DATA( coords, data, weights, &isect->data );
447 GLfloat weights[4] = { 0.5, 0.5, 0.0, 0.0 }; local
451 CallCombine( tess, e1->Org, data, weights, FALSE );
456 GLfloat *weights )
458 * Find some weights which describe how the intersection vertex is
468 weights[0] = 0.5 * t2 / (t1 + t2);
469 weights[1] = 0.5 * t1 / (t1 + t2);
470 isect->coords[0] += weights[0]*org->coords[0] + weights[
413 CallCombine( GLUtesselator *tess, GLUvertex *isect, void *data[4], GLfloat weights[4], int needed ) argument
486 GLfloat weights[4]; local
[all...]
/external/icu4c/test/intltest/
H A Dwbnf.cpp439 Buffer_int weights; member in class:WeightedRand
446 for (int i=0; i<size; ++i) weights.append(DEFAULT_WEIGHT);
450 weights.append_array( (*weight_list),s);
451 for (int i=s; i<size; ++i) weights.append(DEFAULT_WEIGHT);
453 weights.append_array( (*weight_list),size);
457 int c = weights.content_size();
459 total += weights[i];
464 weights.append(weight);
492 mark -= weights[i]; // 0 <= mark <= total
738 Repeat(Pick * base, int minCount =0, int maxCount = 1, Buffer_int * weights
1040 Buffer_int weights; local
[all...]
/external/opencv/ml/src/
H A Dml_inner_functions.cpp215 float weights[],
238 cvRandSeries(weights, clsnum, sample_clsnum, amount);
213 cvRandGaussMixture( CvMat* means[], CvMat* covs[], float weights[], int clsnum, CvMat* sample, CvMat* sampClasses ) argument
H A Dmlboost.cpp185 const double* weights = ensemble->get_subtree_weights()->data.db; local
200 double w = weights[i];
221 double w = weights[idx];
229 double w = weights[idx];
249 const double* weights = ensemble->get_subtree_weights()->data.db; local
252 const double* rcw0 = weights + n;
263 double w = weights[idx];
278 double w = weights[idx], w2 = w*w;
303 double w = weights[idx];
341 const double* weights local
445 const double* weights = ensemble->get_subtree_weights()->data.db; local
493 const double* weights = ensemble->get_subtree_weights()->data.db; local
575 const double* weights = ensemble->get_subtree_weights()->data.db; local
641 const double* weights = ensemble->get_subtree_weights()->data.db; local
702 const double* weights = ensemble->get_weights()->data.db; local
[all...]
/external/v8/src/
H A Dhydrogen-instructions.cc72 static const int weights[] = { 1, w, w*w, w*w*w, w*w*w*w }; local
73 return weights[Min(block()->LoopNestingDepth(),
74 static_cast<int>(ARRAY_SIZE(weights)-1))];
/external/opencv/ml/include/
H A Dml.h562 start_step(0/*CvEM::START_AUTO_STEP*/), probs(0), weights(0), means(0), covs(0)
572 probs(_probs), weights(_weights), means(_means), covs(_covs), term_crit(_term_crit)
579 const CvMat* weights; member in struct:CvEMParams
630 CvMat* weights; member in class:CvEM
1135 CvMat* weights; member in class:CvBoost
1203 return layer_sizes && weights &&
1204 (unsigned)layer <= (unsigned)layer_sizes->cols ? weights[layer] : 0;
1235 double** weights; member in class:CvANN_MLP
1316 /* Trainable weights of the layer (including bias) */ \
1317 /* i-th row is a set of weights o
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.equinox.p2.engine_2.0.0.v20100606.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.apache.lucene_1.9.1.v20100518-1140.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 280 milliseconds