Column APIs for unary ops. More...
#include <cudf/fixed_point/fixed_point.hpp>
#include <cudf/fixed_point/floating_conversion.hpp>
#include <cudf/types.hpp>
#include <cudf/utilities/default_stream.hpp>
#include <cudf/utilities/export.hpp>
#include <cudf/utilities/memory_resource.hpp>
#include <cudf/utilities/traits.hpp>
#include <memory>
Go to the source code of this file.
Namespaces | |
cudf | |
cuDF interfaces | |
Enumerations | |
enum class | cudf::unary_operator : int32_t { cudf::SIN , cudf::COS , cudf::TAN , cudf::ARCSIN , cudf::ARCCOS , cudf::ARCTAN , cudf::SINH , cudf::COSH , cudf::TANH , cudf::ARCSINH , cudf::ARCCOSH , cudf::ARCTANH , cudf::EXP , cudf::LOG , cudf::SQRT , cudf::CBRT , cudf::CEIL , cudf::FLOOR , cudf::ABS , cudf::RINT , cudf::BIT_INVERT , cudf::NOT } |
Types of unary operations that can be performed on data. More... | |
Functions | |
template<typename Fixed , typename Floating , CUDF_ENABLE_IF(cuda::std::is_floating_point_v< Floating > &&is_fixed_point< Fixed >()) > | |
CUDF_HOST_DEVICE Fixed | cudf::convert_floating_to_fixed (Floating floating, numeric::scale_type scale) |
Convert a floating-point value to fixed point. More... | |
template<typename Floating , typename Fixed , CUDF_ENABLE_IF(cuda::std::is_floating_point_v< Floating > &&is_fixed_point< Fixed >()) > | |
CUDF_HOST_DEVICE Floating | cudf::convert_fixed_to_floating (Fixed fixed) |
Convert a fixed-point value to floating point. More... | |
template<typename Floating , typename Input , CUDF_ENABLE_IF(cuda::std::is_floating_point_v< Floating >) > | |
CUDF_HOST_DEVICE Floating | cudf::convert_to_floating (Input input) |
Convert a value to floating point. More... | |
std::unique_ptr< cudf::column > | cudf::unary_operation (cudf::column_view const &input, cudf::unary_operator op, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref()) |
Performs unary op on all values in column. More... | |
std::unique_ptr< cudf::column > | cudf::is_null (cudf::column_view const &input, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref()) |
Creates a column of type_id::BOOL8 elements where for every element in input true indicates the value is null and false indicates the value is valid. More... | |
std::unique_ptr< cudf::column > | cudf::is_valid (cudf::column_view const &input, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref()) |
Creates a column of type_id::BOOL8 elements where for every element in input true indicates the value is valid and false indicates the value is null. More... | |
std::unique_ptr< column > | cudf::cast (column_view const &input, data_type out_type, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref()) |
Casts data from dtype specified in input to dtype specified in output. More... | |
bool | cudf::is_supported_cast (data_type from, data_type to) noexcept |
Check if a cast between two datatypes is supported. More... | |
std::unique_ptr< column > | cudf::is_nan (cudf::column_view const &input, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref()) |
Creates a column of type_id::BOOL8 elements indicating the presence of NaN values in a column of floating point values. The output element at row i is true if the element in input at row i is NAN , else false More... | |
std::unique_ptr< column > | cudf::is_not_nan (cudf::column_view const &input, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref()) |
Creates a column of type_id::BOOL8 elements indicating the absence of NaN values in a column of floating point values. The output element at row i is false if the element in input at row i is NAN , else true More... | |
Column APIs for unary ops.
Definition in file unary.hpp.