Home
last modified time | relevance | path

Searched refs:norm (Results 1 – 25 of 248) sorted by relevance

12345678910

/external/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.normal/
DAndroid.mk17 test_makefile := external/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.normal/A…
19 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.normal/io
23 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.normal/param_copy
27 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.normal/eval
31 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.normal/min
35 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.normal/ctor_param
39 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.normal/copy
43 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.normal/param_types
47 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.normal/get_param
51 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.normal/ctor_double_double
[all …]
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.lognormal/
DAndroid.mk17 test_makefile := external/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.lognorma…
19 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.lognormal/io
23 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.lognormal/param_copy
27 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.lognormal/eval
31 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.lognormal/min
35 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.lognormal/ctor_param
39 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.lognormal/copy
43 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.lognormal/param_types
47 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.lognormal/get_param
51 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.lognormal/ctor_double_double
[all …]
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.chisq/
DAndroid.mk17 test_makefile := external/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.chisq/An…
19 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.chisq/io
23 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.chisq/param_copy
27 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.chisq/eval
31 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.chisq/min
35 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.chisq/ctor_param
39 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.chisq/copy
43 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.chisq/param_types
47 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.chisq/get_param
51 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.chisq/set_param
[all …]
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.f/
DAndroid.mk17 test_makefile := external/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.f/Androi…
19 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.f/io
23 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.f/param_copy
27 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.f/eval
31 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.f/min
35 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.f/ctor_param
39 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.f/copy
43 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.f/param_types
47 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.f/get_param
51 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.f/ctor_double_double
[all …]
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.cauchy/
DAndroid.mk17 test_makefile := external/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.cauchy/A…
19 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.cauchy/io
23 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.cauchy/param_copy
27 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.cauchy/eval
31 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.cauchy/min
35 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.cauchy/ctor_param
39 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.cauchy/copy
43 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.cauchy/param_types
47 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.cauchy/get_param
51 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.cauchy/ctor_double_double
[all …]
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.t/
DAndroid.mk17 test_makefile := external/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.t/Androi…
19 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.t/io
23 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.t/param_copy
27 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.t/eval
31 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.t/min
35 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.t/ctor_param
39 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.t/copy
43 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.t/param_types
47 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.t/get_param
51 test_name := numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.t/set_param
[all …]
/external/svox/pico/lib/
Dpicosig2.c1006 picoos_int32 *norm; in gen_hann2() local
1009 norm = sig_inObj->norm_window_p; in gen_hann2()
1011 norm[0] = 80224; in gen_hann2()
1012 norm[1] = 320832; in gen_hann2()
1013 norm[2] = 721696; in gen_hann2()
1014 norm[3] = 1282560; in gen_hann2()
1015 norm[4] = 2003104; in gen_hann2()
1016 norm[5] = 2882880; in gen_hann2()
1017 norm[6] = 3921376; in gen_hann2()
1018 norm[7] = 5117984; in gen_hann2()
[all …]
/external/opencv/cxcore/src/
Dcxnorm.cpp57 norm = _update_op_( norm, t0 ); \
58 norm = _update_op_( norm, t1 ); \
64 norm = _update_op_( norm, t0 ); \
65 norm = _update_op_( norm, t1 ); \
72 norm = _update_op_( norm, t0 ); \
83 norm = _update_op_( norm, t0 ); \
98 norm = _update_op_( norm, t0 ); \
99 norm = _update_op_( norm, t1 ); \
107 norm = _update_op_( norm, t0 ); \
108 norm = _update_op_( norm, t1 ); \
[all …]
/external/mesa3d/src/mesa/tnl/
Dt_vb_texgen.c107 const GLfloat *norm = normal->start; in build_m3() local
110 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(norm,normal->stride)) { in build_m3()
114 two_nu = 2.0F * DOT3(norm,u); in build_m3()
115 fx = f[i][0] = u[0] - norm[0] * two_nu; in build_m3()
116 fy = f[i][1] = u[1] - norm[1] * two_nu; in build_m3()
117 fz = f[i][2] = u[2] - norm[2] * two_nu; in build_m3()
135 GLfloat *norm = normal->start; in build_m2() local
138 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(norm,normal->stride)) { in build_m2()
143 two_nu = 2.0F * DOT3(norm,u); in build_m2()
144 fx = f[i][0] = u[0] - norm[0] * two_nu; in build_m2()
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/
Dt_vb_texgen.c107 const GLfloat *norm = normal->start; in build_m3() local
110 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(norm,normal->stride)) { in build_m3()
114 two_nu = 2.0F * DOT3(norm,u); in build_m3()
115 fx = f[i][0] = u[0] - norm[0] * two_nu; in build_m3()
116 fy = f[i][1] = u[1] - norm[1] * two_nu; in build_m3()
117 fz = f[i][2] = u[2] - norm[2] * two_nu; in build_m3()
135 GLfloat *norm = normal->start; in build_m2() local
138 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(norm,normal->stride)) { in build_m2()
143 two_nu = 2.0F * DOT3(norm,u); in build_m2()
144 fx = f[i][0] = u[0] - norm[0] * two_nu; in build_m2()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
Du_format_parse.py55 def __init__(self, type, norm, pure, size, name = ''): argument
57 self.norm = norm
65 if self.norm:
73 …return self.type == other.type and self.norm == other.norm and self.pure == other.pure and self.si…
81 if self.norm:
97 if self.norm:
162 if channel.norm != ref_channel.norm:
282 norm = True
287 norm = False
290 norm = False
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_format_parse.py55 def __init__(self, type, norm, pure, size, name = ''): argument
57 self.norm = norm
65 if self.norm:
73 …return self.type == other.type and self.norm == other.norm and self.pure == other.pure and self.si…
81 if self.norm:
97 if self.norm:
162 if channel.norm != ref_channel.norm:
282 norm = True
287 norm = False
290 norm = False
[all …]
/external/libcxx/test/numerics/complex.number/cmplx.over/
Dnorm.pass.cpp26 static_assert((std::is_same<decltype(std::norm(x)), double>::value), ""); in test()
27 assert(std::norm(x) == norm(std::complex<double>(x, 0))); in test()
34 static_assert((std::is_same<decltype(std::norm(x)), T>::value), ""); in test()
35 assert(std::norm(x) == norm(std::complex<T>(x, 0))); in test()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DImage.cpp107 FloatRect norm = rect; in adjustForNegativeSize() local
108 if (norm.width() < 0) { in adjustForNegativeSize()
109 norm.setX(norm.x() + norm.width()); in adjustForNegativeSize()
110 norm.setWidth(-norm.width()); in adjustForNegativeSize()
112 if (norm.height() < 0) { in adjustForNegativeSize()
113 norm.setY(norm.y() + norm.height()); in adjustForNegativeSize()
114 norm.setHeight(-norm.height()); in adjustForNegativeSize()
116 return norm; in adjustForNegativeSize()
/external/eigen/test/
Dhouseholder.cpp45 VERIFY_IS_APPROX(v1.norm(), v2.norm()); in householder()
46 if(rows>=2) VERIFY_IS_MUCH_SMALLER_THAN(v1.tail(rows-1).norm(), v1.norm()); in householder()
50 VERIFY_IS_APPROX(v1.norm(), v2.norm()); in householder()
61 VERIFY_IS_APPROX(m1.norm(), m2.norm()); in householder()
62 if(rows>=2) VERIFY_IS_MUCH_SMALLER_THAN(m1.block(1,0,rows-1,cols).norm(), m1.norm()); in householder()
73 VERIFY_IS_APPROX(m3.norm(), m4.norm()); in householder()
74 if(rows>=2) VERIFY_IS_MUCH_SMALLER_THAN(m3.block(0,1,rows,rows-1).norm(), m3.norm()); in householder()
Dstable_norm.cpp77 VERIFY_IS_MUCH_SMALLER_THAN(vzero.norm(), static_cast<RealScalar>(1)); in stable_norm()
78 VERIFY_IS_APPROX(vrand.stableNorm(), vrand.norm()); in stable_norm()
79 VERIFY_IS_APPROX(vrand.blueNorm(), vrand.norm()); in stable_norm()
80 VERIFY_IS_APPROX(vrand.hypotNorm(), vrand.norm()); in stable_norm()
103 VERIFY_IS_APPROX(vrand.colwise().stableNorm(), vrand.colwise().norm()); in stable_norm()
104 VERIFY_IS_APPROX(vrand.colwise().blueNorm(), vrand.colwise().norm()); in stable_norm()
105 VERIFY_IS_APPROX(vrand.colwise().hypotNorm(), vrand.colwise().norm()); in stable_norm()
106 VERIFY_IS_APPROX(vrand.rowwise().stableNorm(), vrand.rowwise().norm()); in stable_norm()
107 VERIFY_IS_APPROX(vrand.rowwise().blueNorm(), vrand.rowwise().norm()); in stable_norm()
108 VERIFY_IS_APPROX(vrand.rowwise().hypotNorm(), vrand.rowwise().norm()); in stable_norm()
Dadjoint.cpp33 … = NumTraits<Scalar>::IsInteger ? RealScalar(0) : (std::max)((s1 * v1 + s2 * v2).norm(),v3.norm()); in run()
37 VERIFY_IS_APPROX(v1.squaredNorm(), v1.norm() * v1.norm()); in run()
39 VERIFY_IS_APPROX(v1, v1.norm() * v1.normalized()); in run()
42 VERIFY_IS_APPROX(v1, v1.norm() * v3); in run()
44 VERIFY_IS_APPROX(v3.norm(), RealScalar(1)); in run()
47 …teger ? 0 : (std::max)((std::max)(v1.norm(),v2.norm()),(std::max)((square * v2).norm(),(square.adj… in run()
52 VERIFY_IS_APPROX(Vec::Random(v1.size()).normalized().norm(), RealScalar(1)); in run()
/external/chromium_org/third_party/icu/source/test/intltest/
Dtstnrapi.cpp26 Normalizer norm(iter, UNORM_NFC); in TestNormalizerAPI() local
27 if(norm.next()!=0xe4) { in TestNormalizerAPI()
32 Normalizer copy(norm); in TestNormalizerAPI()
74 norm.setIndexOnly(3); in TestNormalizerAPI()
75 if(norm.current()!=0x4e3d) { in TestNormalizerAPI()
134 norm.setMode(UNORM_NONE); in TestNormalizerAPI()
135 if(norm.first()!=0x61 || norm.next()!=0x308 || norm.last()!=0x2f800) { in TestNormalizerAPI()
/external/icu/icu4c/source/test/intltest/
Dtstnrapi.cpp26 Normalizer norm(iter, UNORM_NFC); in TestNormalizerAPI() local
27 if(norm.next()!=0xe4) { in TestNormalizerAPI()
32 Normalizer copy(norm); in TestNormalizerAPI()
74 norm.setIndexOnly(3); in TestNormalizerAPI()
75 if(norm.current()!=0x4e3d) { in TestNormalizerAPI()
134 norm.setMode(UNORM_NONE); in TestNormalizerAPI()
135 if(norm.first()!=0x61 || norm.next()!=0x308 || norm.last()!=0x2f800) { in TestNormalizerAPI()
/external/ceres-solver/internal/ceres/
Dsmall_blas_test.cc73 EXPECT_NEAR((C_plus_ref - C_plus).norm(), 0.0, kTolerance) in TEST()
91 EXPECT_NEAR((C_minus_ref - C_minus).norm(), 0.0, kTolerance) in TEST()
108 EXPECT_NEAR((C_assign_ref - C_assign).norm(), 0.0, kTolerance) in TEST()
156 EXPECT_NEAR((C_plus_ref - C_plus).norm(), 0.0, kTolerance) in TEST()
173 EXPECT_NEAR((C_minus_ref - C_minus).norm(), 0.0, kTolerance) in TEST()
190 EXPECT_NEAR((C_assign_ref - C_assign).norm(), 0.0, kTolerance) in TEST()
229 EXPECT_NEAR((c_plus_ref - c_plus).norm(), 0.0, kTolerance) in TEST()
238 EXPECT_NEAR((c_minus_ref - c_minus).norm(), 0.0, kTolerance) in TEST()
247 EXPECT_NEAR((c_assign_ref - c_assign).norm(), 0.0, kTolerance) in TEST()
278 EXPECT_NEAR((c_plus_ref - c_plus).norm(), 0.0, kTolerance) in TEST()
[all …]
Drotation_test.cc318 double norm = 0; in TEST() local
321 norm += axis_angle[i] * axis_angle[i]; in TEST()
323 norm = sqrt(norm); in TEST()
328 axis_angle[i] = axis_angle[i] * theta / norm; in TEST()
350 double norm = 0; in TEST() local
353 norm += quaternion[i] * quaternion[i]; in TEST()
355 norm = sqrt(norm); in TEST()
358 quaternion[i] = quaternion[i] / norm; in TEST()
427 double norm = 0; in TEST() local
430 norm += in_axis_angle[i] * in_axis_angle[i]; in TEST()
[all …]
/external/eigen/doc/snippets/
DRealQZ_compute.cpp13 << "\n|A-QSZ|: " << (A-qz.matrixQ()*qz.matrixS()*qz.matrixZ()).norm()
14 << ", |B-QTZ|: " << (B-qz.matrixQ()*qz.matrixT()*qz.matrixZ()).norm()
15 << "\n|QQ* - I|: " << (qz.matrixQ()*qz.matrixQ().adjoint() - MatrixXf::Identity(4,4)).norm()
16 << ", |ZZ* - I|: " << (qz.matrixZ()*qz.matrixZ().adjoint() - MatrixXf::Identity(4,4)).norm()
/external/chromium_org/third_party/webrtc/common_audio/signal_processing/
Dlevinson_durbin.c38 int16_t norm; in WebRtcSpl_LevinsonDurbin() local
42 norm = WebRtcSpl_NormW32(R[0]); in WebRtcSpl_LevinsonDurbin()
46 temp1W32 = WEBRTC_SPL_LSHIFT_W32(R[i], norm); in WebRtcSpl_LevinsonDurbin()
142 norm = WebRtcSpl_NormW32(temp3W32); in WebRtcSpl_LevinsonDurbin()
143 if ((Alpha_exp <= norm) || (temp3W32 == 0)) in WebRtcSpl_LevinsonDurbin()
224 norm = WebRtcSpl_NormW32(temp1W32); in WebRtcSpl_LevinsonDurbin()
225 temp1W32 = WEBRTC_SPL_LSHIFT_W32(temp1W32, norm); in WebRtcSpl_LevinsonDurbin()
232 Alpha_exp = Alpha_exp + norm; in WebRtcSpl_LevinsonDurbin()
/external/webrtc/src/common_audio/signal_processing/
Dlevinson_durbin.c38 WebRtc_Word16 norm; in WebRtcSpl_LevinsonDurbin() local
42 norm = WebRtcSpl_NormW32(R[0]); in WebRtcSpl_LevinsonDurbin()
46 temp1W32 = WEBRTC_SPL_LSHIFT_W32(R[i], norm); in WebRtcSpl_LevinsonDurbin()
142 norm = WebRtcSpl_NormW32(temp3W32); in WebRtcSpl_LevinsonDurbin()
143 if ((Alpha_exp <= norm) || (temp3W32 == 0)) in WebRtcSpl_LevinsonDurbin()
224 norm = WebRtcSpl_NormW32(temp1W32); in WebRtcSpl_LevinsonDurbin()
225 temp1W32 = WEBRTC_SPL_LSHIFT_W32(temp1W32, norm); in WebRtcSpl_LevinsonDurbin()
232 Alpha_exp = Alpha_exp + norm; in WebRtcSpl_LevinsonDurbin()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_maos_vbtmp.h46 GLuint (*norm)[4]; in TAG() local
117 norm = (GLuint (*)[4])VB->AttribPtr[_TNL_ATTRIB_NORMAL]->data; in TAG()
120 norm = (GLuint (*)[4])&ctx->Current.Attrib[VERT_ATTRIB_NORMAL]; in TAG()
164 norm = (GLuint (*)[4])((GLubyte *)norm + start * norm_stride); in TAG()
189 v[0].ui = norm[0][0]; in TAG()
190 v[1].ui = norm[0][1]; in TAG()
191 v[2].ui = norm[0][2]; in TAG()
193 norm = (GLuint (*)[4])((GLubyte *)norm + norm_stride); in TAG()

12345678910