Namespaces | Enumerations | Functions
unary.hpp File Reference

Column APIs for unary ops. More...

#include <cudf/types.hpp>
#include <rmm/mr/device/per_device_resource.hpp>
#include <memory>

Go to the source code of this file.

Namespaces

 cudf
 cuDF interfaces
 

Enumerations

enum  cudf::unary_operator : int32_t {
  cudf::unary_operator::SIN, cudf::unary_operator::COS, cudf::unary_operator::TAN, cudf::unary_operator::ARCSIN,
  cudf::unary_operator::ARCCOS, cudf::unary_operator::ARCTAN, cudf::unary_operator::SINH, cudf::unary_operator::COSH,
  cudf::unary_operator::TANH, cudf::unary_operator::ARCSINH, cudf::unary_operator::ARCCOSH, cudf::unary_operator::ARCTANH,
  cudf::unary_operator::EXP, cudf::unary_operator::LOG, cudf::unary_operator::SQRT, cudf::unary_operator::CBRT,
  cudf::unary_operator::CEIL, cudf::unary_operator::FLOOR, cudf::unary_operator::ABS, cudf::unary_operator::RINT,
  cudf::unary_operator::BIT_INVERT, cudf::unary_operator::NOT
}
 Types of unary operations that can be performed on data. More...
 

Functions

std::unique_ptr< cudf::columncudf::unary_operation (cudf::column_view const &input, cudf::unary_operator op, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
 Performs unary op on all values in column. More...
 
std::unique_ptr< cudf::columncudf::is_null (cudf::column_view const &input, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
 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::columncudf::is_valid (cudf::column_view const &input, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
 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::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
 Casts data from dtype specified in input to dtype specified in output. More...
 
std::unique_ptr< column > cudf::is_nan (cudf::column_view const &input, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
 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::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
 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...
 

Detailed Description

Column APIs for unary ops.

Definition in file unary.hpp.