diff --git a/docs/thrust/api_docs/function_objects/predefined.rst b/docs/thrust/api_docs/function_objects/predefined.rst index f6b0631f778..fc66bab71d3 100644 --- a/docs/thrust/api_docs/function_objects/predefined.rst +++ b/docs/thrust/api_docs/function_objects/predefined.rst @@ -1,14 +1,12 @@ .. _thrust-module-api-function-objects-predefined: -Predefined Function Objects ----------------------------- +Function Objects +---------------- -.. toctree:: - :glob: - :maxdepth: 1 +Users are encouraged to use the standard C++ function objects available from ``. +Thrust provides the following additional function objects: - predefined/arithmetic - predefined/bitwise - predefined/comparison - predefined/identity - predefined/logical + - :cpp:struct:`thrust::square ` + - :cpp:struct:`thrust::identity ` + - :cpp:struct:`thrust::project1st ` + - :cpp:struct:`thrust::project2nd ` diff --git a/docs/thrust/api_docs/function_objects/predefined/arithmetic.rst b/docs/thrust/api_docs/function_objects/predefined/arithmetic.rst deleted file mode 100644 index c62bc9a9934..00000000000 --- a/docs/thrust/api_docs/function_objects/predefined/arithmetic.rst +++ /dev/null @@ -1,12 +0,0 @@ -.. _thrust-module-api-function-objects-predefined-arithmetic: - -Arithmetic Operations ----------------------- - - - :cpp:struct:`thrust::plus ` - - :cpp:struct:`thrust::minus ` - - :cpp:struct:`thrust::multiplies ` - - :cpp:struct:`thrust::divides ` - - :cpp:struct:`thrust::modulus ` - - :cpp:struct:`thrust::negate ` - - :cpp:struct:`thrust::square ` diff --git a/docs/thrust/api_docs/function_objects/predefined/bitwise.rst b/docs/thrust/api_docs/function_objects/predefined/bitwise.rst deleted file mode 100644 index 5e88d72acc9..00000000000 --- a/docs/thrust/api_docs/function_objects/predefined/bitwise.rst +++ /dev/null @@ -1,10 +0,0 @@ -.. _thrust-module-api-function-objects-predefined-bitwise: - -Bitwise Operations -------------------- - -.. toctree:: - :glob: - :maxdepth: 1 - - ${repo_docs_api_path}/*bit__* diff --git a/docs/thrust/api_docs/function_objects/predefined/comparison.rst b/docs/thrust/api_docs/function_objects/predefined/comparison.rst deleted file mode 100644 index 351d937a3af..00000000000 --- a/docs/thrust/api_docs/function_objects/predefined/comparison.rst +++ /dev/null @@ -1,11 +0,0 @@ -.. _thrust-module-api-function-objects-predefined-comparison: - -Comparison Operations ----------------------- - - - :cpp:struct:`thrust::equal_to ` - - :cpp:struct:`thrust::not_equal_to ` - - :cpp:struct:`thrust::greater ` - - :cpp:struct:`thrust::less ` - - :cpp:struct:`thrust::greater_equal ` - - :cpp:struct:`thrust::less_equal ` diff --git a/docs/thrust/api_docs/function_objects/predefined/identity.rst b/docs/thrust/api_docs/function_objects/predefined/identity.rst deleted file mode 100644 index a62e980ba20..00000000000 --- a/docs/thrust/api_docs/function_objects/predefined/identity.rst +++ /dev/null @@ -1,10 +0,0 @@ -.. _thrust-module-api-function-objects-predefined-identity: - -Generalized Identity Operations --------------------------------- - - - :cpp:struct:`thrust::identity ` - - :cpp:struct:`thrust::maximum ` - - :cpp:struct:`thrust::minimum ` - - :cpp:struct:`thrust::project1st ` - - :cpp:struct:`thrust::project2nd ` diff --git a/docs/thrust/api_docs/function_objects/predefined/logical.rst b/docs/thrust/api_docs/function_objects/predefined/logical.rst deleted file mode 100644 index 84017ee5efc..00000000000 --- a/docs/thrust/api_docs/function_objects/predefined/logical.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. _thrust-module-api-function-objects-predefined-logical: - -Logical Operations ------------------- - - - :cpp:struct:`thrust::logical_and ` - - :cpp:struct:`thrust::logical_or ` - - :cpp:struct:`thrust::logical_not `