File indexing completed on 2025-01-18 09:30:00
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef BOOST_COMPUTE_FUNCTIONAL_GEOMETRY_HPP
0012 #define BOOST_COMPUTE_FUNCTIONAL_GEOMETRY_HPP
0013
0014 #include <boost/compute/type_traits.hpp>
0015 #include <boost/compute/functional/detail/macros.hpp>
0016
0017 namespace boost {
0018 namespace compute {
0019
0020 BOOST_COMPUTE_DECLARE_BUILTIN_FUNCTION(cross, T (T, T), class T)
0021 BOOST_COMPUTE_DECLARE_BUILTIN_FUNCTION(dot, typename scalar_type<T>::type (T, T), class T)
0022 BOOST_COMPUTE_DECLARE_BUILTIN_FUNCTION(distance, typename scalar_type<T>::type (T, T), class T)
0023 BOOST_COMPUTE_DECLARE_BUILTIN_FUNCTION(fast_distance, typename scalar_type<T>::type (T, T), class T)
0024 BOOST_COMPUTE_DECLARE_BUILTIN_FUNCTION(length, typename scalar_type<T>::type (T), class T)
0025 BOOST_COMPUTE_DECLARE_BUILTIN_FUNCTION(fast_length, typename scalar_type<T>::type (T), class T)
0026 BOOST_COMPUTE_DECLARE_BUILTIN_FUNCTION(normalize, T (T), class T)
0027 BOOST_COMPUTE_DECLARE_BUILTIN_FUNCTION(fast_normalize, T (T), class T)
0028
0029 }
0030 }
0031
0032 #endif