Searched refs:complex (Results 101 - 125 of 328) sorted by relevance

1234567891011>>

/external/libcxx/test/numerics/complex.number/cmplx.over/
H A Darg.pass.cpp10 // <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 Dnorm.pass.cpp10 // <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 DbenchFFT.cpp13 #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 Dpardiso_support.cpp27 CALL_SUBTEST_3(test_pardiso_T< std::complex<float> >());
28 CALL_SUBTEST_4(test_pardiso_T< std::complex<double> >());
H A Dsparselu.cpp53 CALL_SUBTEST_3(test_sparselu_T<std::complex<float> >());
54 CALL_SUBTEST_4(test_sparselu_T<std::complex<double> >());
H A Dsuperlu_support.cpp17 SuperLU<SparseMatrix<std::complex<double> > > superlu_cplxdouble_colmajor;
H A Dumfpack_support.cpp29 CALL_SUBTEST_2(test_umfpack_support_T<std::complex<double> >());
H A Dpastix_support.cpp42 CALL_SUBTEST_3( (test_pastix_T_LU<std::complex<float> >()) );
43 CALL_SUBTEST_4(test_pastix_T_LU<std::complex<double> >());
H A Dsizeof.cpp32 VERIFY(sizeof(std::complex<float>) == 2*sizeof(float));
33 VERIFY(sizeof(std::complex<double>) == 2*sizeof(double));
H A Dbicgstab.cpp29 CALL_SUBTEST_2(test_bicgstab_T<std::complex<double> >());
/external/eigen/unsupported/doc/examples/
H A DFFT.cpp12 #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 Ddivide_equal_scalar.pass.cpp10 // <complex>
12 // complex& operator/=(const T& rhs);
14 #include <complex>
21 std::complex<T> c(1);
H A Dtimes_equal_scalar.pass.cpp10 // <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 Dcomplex_divide_complex.pass.cpp10 // <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 Dcomplex_times_complex.pass.cpp10 // <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 DIComplexPropertyEditor.java11 package org.eclipse.wb.internal.core.model.property.editor.complex;
24 * @return sub-properties of given complex property.
/external/stlport/stlport/
H A Dcomplex28 // 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 DComplex.h28 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 DEigenSolver_EigenSolver_MatrixType.cpp8 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 Dcapacity.pass.cpp24 #include <complex>
52 test<std::complex<double>> ( {} );
/external/libcxx/test/language.support/support.limits/limits/
H A Dis_specialized.pass.cpp16 // 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 Dabs.pass.cpp10 // <complex>
14 // abs(const complex<T>& x);
16 #include <complex>
25 std::complex<T> z(3, 4);
H A Dnorm.pass.cpp10 // <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 Dpairs.by.type.pass.cpp12 #include <complex>
19 typedef std::complex<float> cf;
/external/eigen/Eigen/src/Core/arch/AltiVec/
H A DComplex.h33 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...]

Completed in 3795 milliseconds

1234567891011>>