Lines Matching full:complex
22 #include <complex>
206 template<> inline float test_precision<std::complex<float> >() { return test_precision<float>(); }
207 template<> inline double test_precision<std::complex<double> >() { return test_precision<double>(); }
231 inline bool test_isApprox(const std::complex<float>& a, const std::complex<float>& b)
232 { return internal::isApprox(a, b, test_precision<std::complex<float> >()); }
233 inline bool test_isMuchSmallerThan(const std::complex<float>& a, const std::complex<float>& b)
234 { return internal::isMuchSmallerThan(a, b, test_precision<std::complex<float> >()); }
236 inline bool test_isApprox(const std::complex<double>& a, const std::complex<double>& b)
237 { return internal::isApprox(a, b, test_precision<std::complex<double> >()); }
238 inline bool test_isMuchSmallerThan(const std::complex<double>& a, const std::complex<double>& b)
239 { return internal::isMuchSmallerThan(a, b, test_precision<std::complex<double> >()); }
371 template<typename T> struct GetDifferentType<std::complex<T> >
372 { typedef std::complex<typename GetDifferentType<T>::type> type; };
378 template<> std::string type_name<std::complex<float> >() { return "complex<float>"; }
379 template<> std::string type_name<std::complex<double> >() { return "complex<double>"; }
380 template<> std::string type_name<std::complex<int> >() { return "complex<int>"; }