/external/libcxx/test/numerics/complex.number/cmplx.over/ |
H A D | arg.pass.cpp | 10 // <complex> 16 #include <complex> 27 assert(std::arg(x) == arg(std::complex<double>(x, 0))); 35 assert(std::arg(x) == arg(std::complex<T>(x, 0)));
|
H A D | norm.pass.cpp | 10 // <complex> 16 #include <complex> 27 assert(std::norm(x) == norm(std::complex<double>(x, 0))); 35 assert(std::norm(x) == norm(std::complex<T>(x, 0)));
|
/external/eigen/bench/ |
H A D | benchFFT.cpp | 13 #include <complex> 47 typedef typename std::complex<Scalar> Complex; 82 cout << "complex"; 99 bench<complex<float> >(NFFT,true); 100 bench<complex<float> >(NFFT,false); 106 bench<complex<double> >(NFFT,true); 107 bench<complex<double> >(NFFT,false); 110 bench<complex<long double> >(NFFT,true); 111 bench<complex<long double> >(NFFT,false);
|
/external/eigen/test/ |
H A D | pardiso_support.cpp | 27 CALL_SUBTEST_3(test_pardiso_T< std::complex<float> >()); 28 CALL_SUBTEST_4(test_pardiso_T< std::complex<double> >());
|
H A D | sparselu.cpp | 53 CALL_SUBTEST_3(test_sparselu_T<std::complex<float> >()); 54 CALL_SUBTEST_4(test_sparselu_T<std::complex<double> >());
|
H A D | superlu_support.cpp | 17 SuperLU<SparseMatrix<std::complex<double> > > superlu_cplxdouble_colmajor;
|
H A D | umfpack_support.cpp | 29 CALL_SUBTEST_2(test_umfpack_support_T<std::complex<double> >());
|
H A D | pastix_support.cpp | 42 CALL_SUBTEST_3( (test_pastix_T_LU<std::complex<float> >()) ); 43 CALL_SUBTEST_4(test_pastix_T_LU<std::complex<double> >());
|
H A D | sizeof.cpp | 32 VERIFY(sizeof(std::complex<float>) == 2*sizeof(float)); 33 VERIFY(sizeof(std::complex<double>) == 2*sizeof(double));
|
H A D | bicgstab.cpp | 29 CALL_SUBTEST_2(test_bicgstab_T<std::complex<double> >());
|
/external/eigen/unsupported/doc/examples/ |
H A D | FFT.cpp | 12 #include <complex> 28 T mag2(std::complex<T> a) 43 T mag2(const std::vector<std::complex<T> > & vec) 68 void RandomFill(std::vector<std::complex<T> > & vec) 71 vec[k] = std::complex<T> ( T( rand() )/T(RAND_MAX) - .5, T( rand() )/T(RAND_MAX) - .5); 96 fwd_inv<T_scalar,std::complex<T_scalar> >(nfft); 97 cout << " complex "; 98 fwd_inv<std::complex<T_scalar>,std::complex<T_scalar> >(nfft);
|
/external/libcxx/test/numerics/complex.number/complex.member.ops/ |
H A D | divide_equal_scalar.pass.cpp | 10 // <complex> 12 // complex& operator/=(const T& rhs); 14 #include <complex> 21 std::complex<T> c(1);
|
H A D | times_equal_scalar.pass.cpp | 10 // <complex> 12 // complex& operator*=(const T& rhs); 14 #include <complex> 21 std::complex<T> c(1);
|
/external/libcxx/test/numerics/complex.number/complex.ops/ |
H A D | complex_divide_complex.pass.cpp | 10 // <complex> 13 // complex<T> 14 // operator/(const complex<T>& lhs, const complex<T>& rhs); 16 #include <complex> 23 test(const std::complex<T>& lhs, const std::complex<T>& rhs, std::complex<T> x) 32 std::complex<T> lhs(-4.0, 7.5); 33 std::complex< [all...] |
H A D | complex_times_complex.pass.cpp | 10 // <complex> 13 // complex<T> 14 // operator*(const complex<T>& lhs, const complex<T>& rhs); 16 #include <complex> 23 test(const std::complex<T>& lhs, const std::complex<T>& rhs, std::complex<T> x) 32 std::complex<T> lhs(1.5, 2.5); 33 std::complex< [all...] |
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/complex/ |
H A D | IComplexPropertyEditor.java | 11 package org.eclipse.wb.internal.core.model.property.editor.complex; 24 * @return sub-properties of given complex property.
|
/external/stlport/stlport/ |
H A D | complex | 28 // This header declares the template class complex, as described in 29 // in the C++ Standard. Single-precision complex numbers 30 // are complex<float>, double-precision are complex<double>, and 31 // quad precision are complex<long double>. 33 // Note that the template class complex is declared within namespace 42 # include_next <complex> 44 # include _STLP_NATIVE_HEADER(complex)
|
/external/eigen/Eigen/src/Core/arch/NEON/ |
H A D | Complex.h | 28 template<> struct packet_traits<std::complex<float> > : default_packet_traits 49 template<> struct unpacket_traits<Packet2cf> { typedef std::complex<float> type; enum {size=2}; }; 51 template<> EIGEN_STRONG_INLINE Packet2cf pset1<Packet2cf>(const std::complex<float>& from) 105 template<> EIGEN_STRONG_INLINE Packet2cf pload<Packet2cf>(const std::complex<float>* from) { EIGEN_DEBUG_ALIGNED_LOAD return Packet2cf(pload<Packet4f>((const float*)from)); } 106 template<> EIGEN_STRONG_INLINE Packet2cf ploadu<Packet2cf>(const std::complex<float>* from) { EIGEN_DEBUG_UNALIGNED_LOAD return Packet2cf(ploadu<Packet4f>((const float*)from)); } 108 template<> EIGEN_STRONG_INLINE Packet2cf ploaddup<Packet2cf>(const std::complex<float>* from) { return pset1<Packet2cf>(*from); } 110 template<> EIGEN_STRONG_INLINE void pstore <std::complex<float> >(std::complex<float> * to, const Packet2cf& from) { EIGEN_DEBUG_ALIGNED_STORE pstore((float*)to, from.v); } 111 template<> EIGEN_STRONG_INLINE void pstoreu<std::complex<float> >(std::complex<floa [all...] |
/external/eigen/doc/snippets/ |
H A D | EigenSolver_EigenSolver_MatrixType.cpp | 8 complex<double> lambda = es.eigenvalues()[0]; 12 cout << "... and A * v = " << endl << A.cast<complex<double> >() * v << endl << endl;
|
/external/libcxx/test/containers/sequences/dynarray/dynarray.overview/ |
H A D | capacity.pass.cpp | 24 #include <complex> 52 test<std::complex<double>> ( {} );
|
/external/libcxx/test/language.support/support.limits/limits/ |
H A D | is_specialized.pass.cpp | 16 // Non-arithmetic standard types, such as complex<T> (26.3.2), shall not 28 #include <complex> 69 static_assert(!std::numeric_limits<std::complex<double> >::is_specialized, 70 "!std::numeric_limits<std::complex<double> >::is_specialized");
|
/external/libcxx/test/numerics/complex.number/complex.value.ops/ |
H A D | abs.pass.cpp | 10 // <complex> 14 // abs(const complex<T>& x); 16 #include <complex> 25 std::complex<T> z(3, 4);
|
H A D | norm.pass.cpp | 10 // <complex> 14 // norm(const complex<T>& x); 16 #include <complex> 25 std::complex<T> z(3, 4);
|
/external/libcxx/test/utilities/utility/pairs/pair.astuple/ |
H A D | pairs.by.type.pass.cpp | 12 #include <complex> 19 typedef std::complex<float> cf;
|
/external/eigen/Eigen/src/Core/arch/AltiVec/ |
H A D | Complex.h | 33 template<> struct packet_traits<std::complex<float> > : default_packet_traits 54 template<> struct unpacket_traits<Packet2cf> { typedef std::complex<float> type; enum {size=2}; }; 56 template<> EIGEN_STRONG_INLINE Packet2cf pset1<Packet2cf>(const std::complex<float>& from) 97 template<> EIGEN_STRONG_INLINE Packet2cf pload <Packet2cf>(const std::complex<float>* from) { EIGEN_DEBUG_ALIGNED_LOAD return Packet2cf(pload<Packet4f>((const float*)from)); } 98 template<> EIGEN_STRONG_INLINE Packet2cf ploadu<Packet2cf>(const std::complex<float>* from) { EIGEN_DEBUG_UNALIGNED_LOAD return Packet2cf(ploadu<Packet4f>((const float*)from)); } 100 template<> EIGEN_STRONG_INLINE Packet2cf ploaddup<Packet2cf>(const std::complex<float>* from) 105 template<> EIGEN_STRONG_INLINE void pstore <std::complex<float> >(std::complex<float> * to, const Packet2cf& from) { EIGEN_DEBUG_ALIGNED_STORE pstore((float*)to, from.v); } 106 template<> EIGEN_STRONG_INLINE void pstoreu<std::complex<float> >(std::complex<floa [all...] |