Searched defs:squares (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/v8/test/mjsunit/
H A Dsin-cos.js133 var squares = []; variable
140 squares.push(err_sin*err_sin + err_cos*err_cos);
143 // Sum squares up by adding them pairwise, to avoid losing precision.
144 while (squares.length > 1) {
146 if (squares.length % 2 == 1) reduced.push(squares.pop());
148 while(squares.length > 1) reduced.push(squares.pop() + squares.pop());
149 squares
[all...]
/external/skia/gm/
H A Dthinrects.cpp100 static const SkRect squares[] = { local
110 for (size_t j = 0; j < SK_ARRAY_COUNT(squares); ++j) {
111 canvas->drawRect(squares[j], p);
/external/opencv/cvaux/src/
H A Dcvlmeds.cpp197 icvCubic( double a2, double a1, double a0, double *squares )
203 if( !squares )
245 squares[i] = x[i][i % 2];
305 squares[t++] = x[i][0];
306 squares[t++] = x[i][1];
1700 double squares[6]; local
1729 icvCubic( a2, a1, a0, squares );
1734 if( REAL_ZERO( squares[i * 2 + 1] ))
1740 F[*amount + j] = (float) (squares[i] * solutions[j] +
1741 (1 - squares[
[all...]

Completed in 177 milliseconds