Home
last modified time | relevance | path

Searched refs:EPS (Results 1 – 25 of 105) sorted by relevance

12345

/external/opencv3/modules/core/misc/java/test/
DCoreTest.java42 assertMatEqual(gray1_32f, dst, EPS); in testAddMatMatMatMatInt()
55 assertMatEqual(gray255_32f, dst, EPS); in testAddWeightedMatDoubleMatDoubleDoubleMatInt()
112 assertMatEqual(gray0_64f, covar, EPS); in testCalcCovarMatrixMatMatMatInt()
113 assertMatEqual(gray0_64f_1d, mean, EPS); in testCalcCovarMatrixMatMatMatInt()
122 assertMatEqual(gray0_32f, covar, EPS); in testCalcCovarMatrixMatMatMatIntInt()
123 assertMatEqual(gray0_32f_1d, mean, EPS); in testCalcCovarMatrixMatMatMatIntInt()
151 assertMatEqual(expected_magnitude, dst, EPS); in testCartToPolarMatMatMatMat()
152 assertMatEqual(expected_angle, dst_angle, EPS); in testCartToPolarMatMatMatMat()
180 assertMatEqual(expected_magnitude, dst, EPS); in testCartToPolarMatMatMatMatBoolean()
181 assertMatEqual(expected_angle, dst_angle, EPS * 180/Math.PI); in testCartToPolarMatMatMatMatBoolean()
[all …]
DRotatedRectTest.java103 … Math.abs((p[0].x + p[2].x) / 2 - center.x) + Math.abs((p[0].y + p[2].y) / 2 - center.y) < EPS); in testPoints()
106 … Math.abs((p[1].x + p[3].x) / 2 - center.x) + Math.abs((p[1].y + p[3].y) / 2 - center.y) < EPS); in testPoints()
110 (p[1].y - p[0].y) * (p[2].y - p[1].y)) < EPS); in testPoints()
114 (p[2].y - p[1].y) * (p[3].y - p[2].y)) < EPS); in testPoints()
118 (p[3].y - p[2].y) * (p[0].y - p[3].y)) < EPS); in testPoints()
122 (p[0].y - p[3].y) * (p[1].y - p[0].y)) < EPS); in testPoints()
126 (p[1].y - p[0].y) * (p[1].y - p[0].y) - size.height * size.height) < EPS); in testPoints()
130 (p[1].y - p[2].y) * (p[1].y - p[2].y) - size.width * size.width) < EPS); in testPoints()
132 … with the axes", Math.abs((p[2].x - p[1].x) / size.width - Math.cos(angle * Math.PI / 180)) < EPS); in testPoints()
172 assertPointEquals(new Point(0, 0), r1.center, EPS); in testSet()
[all …]
DTermCriteriaTest.java16 tc2 = new TermCriteria(2, 4, EPS); in setUp()
70 tc1 = new TermCriteria(2, 4, EPS); in testTermCriteriaIntIntDouble()
75 assertEquals(EPS, tc2.epsilon); in testTermCriteriaIntIntDouble()
80 double eps = EPS; in testToString()
DMatTest.java25 assertSizeEquals(new Size(5, 6), adjusted.size(), EPS); in testAdjustROI()
33 assertPointEquals(new Point(5, 1), offset, EPS); in testAdjustROI()
34 assertSizeEquals(gray0.size(), size, EPS); in testAdjustROI() local
50 assertMatEqual(gray255_32f, dst, EPS); in testAssignToMatInt()
130 assertMatEqual(truth, dst, EPS); in testConvertToMatInt()
192 assertMatEqual(answer, cross, EPS); in testCross()
224 assertMatEqual(grayE_32f, dst, EPS); in testDiagMat()
264 assertMatEqual(eye, eye.inv(), EPS); in testEyeIntIntInt()
461 assertMatEqual(grayE_32f, dst, EPS); in testInv()
485 assertMatEqual(truth, dst, EPS); in testInvInt()
[all …]
/external/eigen/lapack/
Ddlamch.f82 DOUBLE PRECISION RND, EPS, SFMIN, SMALL, RMACH local
100 EPS = EPSILON(ZERO) * 0.5
102 EPS = EPSILON(ZERO)
106 RMACH = EPS
115 SFMIN = SMALL*( ONE+EPS )
121 RMACH = EPS * RADIX(ZERO)
Dslamch.f86 REAL RND, EPS, SFMIN, SMALL, RMACH local
104 EPS = EPSILON(ZERO) * 0.5
106 EPS = EPSILON(ZERO)
110 RMACH = EPS
119 SFMIN = SMALL*( ONE+EPS )
125 RMACH = EPS * RADIX(ZERO)
/external/opencv3/modules/imgproc/misc/java/test/
DImgprocTest.java47 assertMatEqual(src, dst, EPS); in testAccumulateMatMat()
48 assertMatEqual(getMat(CvType.CV_64F, 4), dst2, EPS); in testAccumulateMatMat() local
60 assertMatEqual(makeMask(getMat(CvType.CV_64F, 2)), dst, EPS); in testAccumulateMatMatMat() local
61 assertMatEqual(makeMask(getMat(CvType.CV_64F, 4), 2), dst2, EPS); in testAccumulateMatMatMat() local
72 assertMatEqual(getMat(CvType.CV_64F, 4), dst, EPS); in testAccumulateProductMatMatMat() local
73 assertMatEqual(getMat(CvType.CV_64F, 10), dst2, EPS); in testAccumulateProductMatMatMat() local
85 assertMatEqual(makeMask(getMat(CvType.CV_64F, 4)), dst, EPS); in testAccumulateProductMatMatMatMat() local
86 assertMatEqual(makeMask(getMat(CvType.CV_64F, 10), 2), dst2, EPS); in testAccumulateProductMatMatMatMat() local
97 assertMatEqual(getMat(CvType.CV_64F, 4), dst, EPS); in testAccumulateSquareMatMat() local
98 assertMatEqual(getMat(CvType.CV_64F, 6), dst2, EPS); in testAccumulateSquareMatMat() local
[all …]
/external/opencv3/modules/java/common_test/src/org/opencv/test/utils/
DConvertersTest.java63 assertListEquals(truth, fs, EPS); in testMat_to_vector_float()
89 assertListKeyPointEquals(truth, kps, EPS); in testMat_to_vector_KeyPoint()
120 assertListPointEquals(truth, points, EPS); in testMat_to_vector_Point()
135 assertListPointEquals(truth, points, EPS); in testMat_to_vector_Point2d()
150 assertListPointEquals(truth, points, EPS); in testMat_to_vector_Point2f()
165 assertListPoint3Equals(truth, points, EPS); in testMat_to_vector_Point3()
180 assertListPoint3Equals(truth, points, EPS); in testMat_to_vector_Point3d()
195 assertListPoint3Equals(truth, points, EPS); in testMat_to_vector_Point3f()
210 assertListPoint3Equals(truth, points, EPS); in testMat_to_vector_Point3i()
287 assertMatEqual(truth, dst, EPS); in testVector_DMatch_to_Mat()
[all …]
/external/cblas/testing/
Dc_sblat3.f57 REAL EPS, ERR, THRESH variable
200 EPS = ONE
202 IF( SDIFF( ONE + EPS, ONE ).EQ.ZERO )
204 EPS = HALF*EPS
207 EPS = EPS + EPS
208 WRITE( NOUT, FMT = 9998 )EPS
230 $ NMAX, EPS, ERR, FATAL, NOUT, .TRUE. )
239 $ NMAX, EPS, ERR, FATAL, NOUT, .TRUE. )
257 $ NMAX, EPS, ERR, FATAL, NOUT, .TRUE. )
266 $ NMAX, EPS, ERR, FATAL, NOUT, .TRUE. )
[all …]
Dc_dblat3.f57 DOUBLE PRECISION EPS, ERR, THRESH variable
201 EPS = ONE
203 IF( DDIFF( ONE + EPS, ONE ).EQ.ZERO )
205 EPS = HALF*EPS
208 EPS = EPS + EPS
209 WRITE( NOUT, FMT = 9998 )EPS
231 $ NMAX, EPS, ERR, FATAL, NOUT, .TRUE. )
240 $ NMAX, EPS, ERR, FATAL, NOUT, .TRUE. )
258 $ NMAX, EPS, ERR, FATAL, NOUT, .TRUE. )
267 $ NMAX, EPS, ERR, FATAL, NOUT, .TRUE. )
[all …]
Dc_zblat3.f63 DOUBLE PRECISION EPS, ERR, THRESH variable
207 EPS = RONE
209 IF( DDIFF( RONE + EPS, RONE ).EQ.RZERO )
211 EPS = RHALF*EPS
214 EPS = EPS + EPS
215 WRITE( NOUT, FMT = 9998 )EPS
237 $ NMAX, EPS, ERR, FATAL, NOUT, .TRUE. )
246 $ NMAX, EPS, ERR, FATAL, NOUT, .TRUE. )
264 $ NMAX, EPS, ERR, FATAL, NOUT, .TRUE. )
273 $ NMAX, EPS, ERR, FATAL, NOUT, .TRUE. )
[all …]
Dc_cblat3.f62 REAL EPS, ERR, THRESH variable
206 EPS = RONE
208 IF( SDIFF( RONE + EPS, RONE ).EQ.RZERO )
210 EPS = RHALF*EPS
213 EPS = EPS + EPS
214 WRITE( NOUT, FMT = 9998 )EPS
236 $ NMAX, EPS, ERR, FATAL, NOUT, .TRUE. )
245 $ NMAX, EPS, ERR, FATAL, NOUT, .TRUE. )
263 $ NMAX, EPS, ERR, FATAL, NOUT, .TRUE. )
272 $ NMAX, EPS, ERR, FATAL, NOUT, .TRUE. )
[all …]
Dc_dblat2.f78 DOUBLE PRECISION EPS, ERR, THRESH variable
251 EPS = ONE
253 IF( DDIFF( ONE + EPS, ONE ).EQ.ZERO )
255 EPS = HALF*EPS
258 EPS = EPS + EPS
259 WRITE( NOUT, FMT = 9998 )EPS
278 $ YY, EPS, ERR, FATAL, NOUT, .TRUE. )
286 $ YY, EPS, ERR, FATAL, NOUT, .TRUE. )
316 CALL DCHK1( SNAMES( ISNUM ), EPS, THRESH, NOUT, NTRA, TRACE,
322 CALL DCHK1( SNAMES( ISNUM ), EPS, THRESH, NOUT, NTRA, TRACE,
[all …]
Dc_sblat2.f78 REAL EPS, ERR, THRESH variable
251 EPS = ONE
253 IF( SDIFF( ONE + EPS, ONE ).EQ.ZERO )
255 EPS = HALF*EPS
258 EPS = EPS + EPS
259 WRITE( NOUT, FMT = 9998 )EPS
278 $ YY, EPS, ERR, FATAL, NOUT, .TRUE. )
286 $ YY, EPS, ERR, FATAL, NOUT, .TRUE. )
316 CALL SCHK1( SNAMES( ISNUM ), EPS, THRESH, NOUT, NTRA, TRACE,
322 CALL SCHK1( SNAMES( ISNUM ), EPS, THRESH, NOUT, NTRA, TRACE,
[all …]
Dc_cblat2.f81 REAL EPS, ERR, THRESH variable
255 EPS = RONE
257 IF( SDIFF( RONE + EPS, RONE ).EQ.RZERO )
259 EPS = RHALF*EPS
262 EPS = EPS + EPS
263 WRITE( NOUT, FMT = 9998 )EPS
282 $ YY, EPS, ERR, FATAL, NOUT, .TRUE. )
290 $ YY, EPS, ERR, FATAL, NOUT, .TRUE. )
320 CALL CCHK1( SNAMES( ISNUM ), EPS, THRESH, NOUT, NTRA, TRACE,
326 CALL CCHK1( SNAMES( ISNUM ), EPS, THRESH, NOUT, NTRA, TRACE,
[all …]
Dc_zblat2.f82 DOUBLE PRECISION EPS, ERR, THRESH variable
255 EPS = RONE
257 IF( DDIFF( RONE + EPS, RONE ).EQ.RZERO )
259 EPS = RHALF*EPS
262 EPS = EPS + EPS
263 WRITE( NOUT, FMT = 9998 )EPS
282 $ YY, EPS, ERR, FATAL, NOUT, .TRUE. )
290 $ YY, EPS, ERR, FATAL, NOUT, .TRUE. )
320 CALL ZCHK1( SNAMES( ISNUM ), EPS, THRESH, NOUT, NTRA, TRACE,
326 CALL ZCHK1( SNAMES( ISNUM ), EPS, THRESH, NOUT, NTRA, TRACE,
[all …]
/external/opencv3/modules/calib3d/misc/java/test/
DCalib3dTest.java50 assertMatEqual(outRvec, rvec3, EPS); in testComposeRTMatMatMatMatMatMat()
51 assertMatEqual(outTvec, tvec3, EPS); in testComposeRTMatMatMatMatMatMat()
255 assertMatEqual(truth, fm, EPS); in testFindFundamentalMatListOfPointListOfPoint()
294 assertMatEqual(truth, hmg, EPS); in testFindHomographyListOfPointListOfPoint()
388 assertMatEqual(truth, _3dPoints, EPS); in testReprojectImageTo3DMatMatMat()
424 assertMatEqual(truth, _3dPoints, EPS); in testReprojectImageTo3DMatMatMatBoolean()
458 assertMatEqual(truth, _3dPoints, EPS); in testReprojectImageTo3DMatMatMatBooleanInt()
471 assertMatEqual(truth, R, EPS); in testRodriguesMatMat()
476 assertMatEqual(r, r2, EPS); in testRodriguesMatMat()
530 assertMatEqual(truth_rvec, rvec, EPS); in testSolvePnPListOfPoint3ListOfPointMatMatMatMat()
[all …]
/external/opencv3/modules/features2d/misc/java/test/
DBruteForceHammingDescriptorMatcherTest.java172 assertListDMatchEquals(Arrays.asList(truth), matches.toList(), EPS);
184 assertListDMatchEquals(Arrays.asList(truth[0], truth[1]), matches.toList(), EPS);
194 assertListDMatchEquals(Arrays.asList(truth), matches.toList(), EPS);
205 assertListDMatchEquals(Arrays.asList(truth[0], truth[1]), matches.toList(), EPS);
217 assertMatEqual(matches.get(1), new MatOfDMatch(truth[1]), EPS);
218 assertMatEqual(matches.get(2), new MatOfDMatch(truth[2]), EPS);
DBruteForceHammingLUTDescriptorMatcherTest.java171 assertArrayDMatchEquals(truth, matches.toArray(), EPS);
183 assertListDMatchEquals(Arrays.asList(truth[0], truth[1]), matches.toList(), EPS);
199 assertArrayDMatchEquals(truth, matches.toArray(), EPS);
210 assertListDMatchEquals(Arrays.asList(truth[0], truth[1]), matches.toList(), EPS);
/external/eigen/blas/testing/
Ddblat3.f58 DOUBLE PRECISION EPS, ERR, THRESH variable
185 EPS = ONE
187 IF( DDIFF( ONE + EPS, ONE ).EQ.ZERO )
189 EPS = HALF*EPS
192 EPS = EPS + EPS
193 WRITE( NOUT, FMT = 9998 )EPS
215 $ NMAX, EPS, ERR, FATAL, NOUT, .TRUE. )
224 $ NMAX, EPS, ERR, FATAL, NOUT, .TRUE. )
242 $ NMAX, EPS, ERR, FATAL, NOUT, .TRUE. )
251 $ NMAX, EPS, ERR, FATAL, NOUT, .TRUE. )
[all …]
Dsblat3.f58 REAL EPS, ERR, THRESH variable
185 EPS = ONE
187 IF( SDIFF( ONE + EPS, ONE ).EQ.ZERO )
189 EPS = HALF*EPS
192 EPS = EPS + EPS
193 WRITE( NOUT, FMT = 9998 )EPS
215 $ NMAX, EPS, ERR, FATAL, NOUT, .TRUE. )
224 $ NMAX, EPS, ERR, FATAL, NOUT, .TRUE. )
242 $ NMAX, EPS, ERR, FATAL, NOUT, .TRUE. )
251 $ NMAX, EPS, ERR, FATAL, NOUT, .TRUE. )
[all …]
Dsblat2.f79 REAL EPS, ERR, THRESH variable
238 EPS = ONE
240 IF( SDIFF( ONE + EPS, ONE ).EQ.ZERO )
242 EPS = HALF*EPS
245 EPS = EPS + EPS
246 WRITE( NOUT, FMT = 9998 )EPS
265 $ YY, EPS, ERR, FATAL, NOUT, .TRUE. )
273 $ YY, EPS, ERR, FATAL, NOUT, .TRUE. )
302 140 CALL SCHK1( SNAMES( ISNUM ), EPS, THRESH, NOUT, NTRA, TRACE,
308 150 CALL SCHK2( SNAMES( ISNUM ), EPS, THRESH, NOUT, NTRA, TRACE,
[all …]
Dzblat2.f83 DOUBLE PRECISION EPS, ERR, THRESH variable
244 EPS = RONE
246 IF( DDIFF( RONE + EPS, RONE ).EQ.RZERO )
248 EPS = RHALF*EPS
251 EPS = EPS + EPS
252 WRITE( NOUT, FMT = 9998 )EPS
271 $ YY, EPS, ERR, FATAL, NOUT, .TRUE. )
279 $ YY, EPS, ERR, FATAL, NOUT, .TRUE. )
308 140 CALL ZCHK1( SNAMES( ISNUM ), EPS, THRESH, NOUT, NTRA, TRACE,
314 150 CALL ZCHK2( SNAMES( ISNUM ), EPS, THRESH, NOUT, NTRA, TRACE,
[all …]
Ddblat2.f79 DOUBLE PRECISION EPS, ERR, THRESH variable
238 EPS = ONE
240 IF( DDIFF( ONE + EPS, ONE ).EQ.ZERO )
242 EPS = HALF*EPS
245 EPS = EPS + EPS
246 WRITE( NOUT, FMT = 9998 )EPS
265 $ YY, EPS, ERR, FATAL, NOUT, .TRUE. )
273 $ YY, EPS, ERR, FATAL, NOUT, .TRUE. )
302 140 CALL DCHK1( SNAMES( ISNUM ), EPS, THRESH, NOUT, NTRA, TRACE,
308 150 CALL DCHK2( SNAMES( ISNUM ), EPS, THRESH, NOUT, NTRA, TRACE,
[all …]
Dcblat2.f82 REAL EPS, ERR, THRESH variable
243 EPS = RONE
245 IF( SDIFF( RONE + EPS, RONE ).EQ.RZERO )
247 EPS = RHALF*EPS
250 EPS = EPS + EPS
251 WRITE( NOUT, FMT = 9998 )EPS
270 $ YY, EPS, ERR, FATAL, NOUT, .TRUE. )
278 $ YY, EPS, ERR, FATAL, NOUT, .TRUE. )
307 140 CALL CCHK1( SNAMES( ISNUM ), EPS, THRESH, NOUT, NTRA, TRACE,
313 150 CALL CCHK2( SNAMES( ISNUM ), EPS, THRESH, NOUT, NTRA, TRACE,
[all …]

12345