Home
last modified time | relevance | path

Searched refs:cplx (Results 1 – 8 of 8) sorted by relevance

/external/libcxx/test/libcxx/numerics/complex.number/
D__sqr.pass.cpp25 typedef std::complex<T> cplx; in test() typedef
28 cplx value; in test()
29 cplx expected; in test()
33 {cplx( 0, 0), cplx( 0, 0)}, in test()
34 {cplx( 1, 0), cplx( 1, 0)}, in test()
35 {cplx( 2, 0), cplx( 4, 0)}, in test()
36 {cplx(-1, 0), cplx( 1, 0)}, in test()
37 {cplx( 0, 1), cplx(-1, 0)}, in test()
38 {cplx( 0, 2), cplx(-4, 0)}, in test()
39 {cplx( 0, -1), cplx(-1, 0)}, in test()
[all …]
/external/tensorflow/tensorflow/lite/toco/
Dimport_tensorflow_test.cc360 using cplx = std::complex<float>; in TEST_F() typedef
363 ElementsAre(std::complex<float>(1.0000, -1.0000), cplx(1.0001, -1.0001), in TEST_F()
364 cplx(1.0002, -1.0002), cplx(1.0003, -1.0003), in TEST_F()
365 cplx(1.0004, -1.0004), cplx(1.0005, -1.0005))); in TEST_F()
369 ElementsAre(std::complex<float>(1.0000, -1.0000), cplx(1.0001, -1.0001), in TEST_F()
370 cplx(1.0002, -1.0002), cplx(1.0003, -1.0003), in TEST_F()
371 cplx(1.0004, -1.0004), cplx(1.0004, -1.0004))); in TEST_F()
376 ElementsAre(std::complex<float>(1.0000, -1.0000), cplx(1.0000, -1.0000), in TEST_F()
377 cplx(1.0000, -1.0000), cplx(1.0000, -1.0000), in TEST_F()
378 cplx(1.0000, -1.0000), cplx(1.0000, -1.0000))); in TEST_F()
/external/webrtc/webrtc/common_audio/
Dreal_fourier_unittest.cc33 RealFourier::fft_cplx_scoper cplx; in TEST() local
34 cplx = RealFourier::AllocCplxBuffer(3); in TEST()
35 ASSERT_TRUE(cplx.get() != nullptr); in TEST()
36 uintptr_t ptr_value = reinterpret_cast<uintptr_t>(cplx.get()); in TEST()
/external/tensorflow/tensorflow/python/kernel_tests/
Dcwise_ops_test.py855 def _compareRealImag(self, cplx, use_gpu): argument
856 np_real, np_imag = np.real(cplx), np.imag(cplx)
860 inx = ops.convert_to_tensor(cplx)
873 cplx = real + 1j * imag
874 self._compareRealImag(cplx, use_gpu=False)
875 self._compareRealImag(cplx, use_gpu=True)
880 cplx = real + 1j * imag
881 self._compareRealImag(cplx, use_gpu=False)
882 self._compareRealImag(cplx, use_gpu=True)
884 def _compareAngle(self, cplx, use_gpu): argument
[all …]
/external/clang/test/SemaCXX/
Dast-print.cpp122 ConstrWithCleanupsClass(const VirualDestrClass& cplx = VirualDestrClass(42));
/external/tensorflow/tensorflow/compiler/xla/service/
Dalgebraic_simplifier_test.cc957 HloInstruction* cplx = builder.AddInstruction( in TEST_F() local
962 EXPECT_EQ(root, cplx); in TEST_F()
978 HloInstruction* cplx = builder.AddInstruction( in TEST_F() local
982 HloInstruction::CreateUnary(r2f32, HloOpcode::kReal, cplx)); in TEST_F()
1002 HloInstruction* cplx = builder.AddInstruction( in TEST_F() local
1006 HloInstruction::CreateUnary(r2f32, HloOpcode::kImag, cplx)); in TEST_F()
/external/python/cpython2/Doc/whatsnew/
D2.6.rst1657 parenthesized complex numbers, meaning that ``complex(repr(cplx))``
/external/python/cpython3/Doc/whatsnew/
D2.6.rst1661 parenthesized complex numbers, meaning that ``complex(repr(cplx))``