Rcpp Version 0.12.14
Rcpp::algorithm::helpers::rtype< T > Struct Template Reference

#include <algorithm.h>

Public Types

typedef rtype_helper< typename ctype< T >::type >::type type
 
typedef rtype_helper< typename ctype< T >::typehelper_type
 

Static Public Member Functions

static T NA ()
 
static RCPP_CONSTEXPR_FUNCZERO ()
 
static RCPP_CONSTEXPR_FUNCONE ()
 

Static Public Attributes

static RCPP_CONSTEXPR_VAR int RTYPE = helper_type::RTYPE
 

Detailed Description

template<typename T>
struct Rcpp::algorithm::helpers::rtype< T >

Definition at line 186 of file algorithm.h.

Member Typedef Documentation

◆ helper_type

template<typename T >
typedef rtype_helper< typename ctype< T >::type > Rcpp::algorithm::helpers::rtype< T >::helper_type

Definition at line 188 of file algorithm.h.

◆ type

template<typename T >
typedef rtype_helper< typename ctype< T >::type >::type Rcpp::algorithm::helpers::rtype< T >::type

Definition at line 187 of file algorithm.h.

Member Function Documentation

◆ NA()

◆ ONE()

template<typename T >
static RCPP_CONSTEXPR_FUNC T Rcpp::algorithm::helpers::rtype< T >::ONE ( )
inlinestatic

◆ ZERO()

template<typename T >
static RCPP_CONSTEXPR_FUNC T Rcpp::algorithm::helpers::rtype< T >::ZERO ( )
inlinestatic

Definition at line 191 of file algorithm.h.

Referenced by Rcpp::algorithm::sum(), and Rcpp::algorithm::sum_nona().

Member Data Documentation

◆ RTYPE

template<typename T >
RCPP_CONSTEXPR_VAR int Rcpp::algorithm::helpers::rtype< T >::RTYPE = helper_type::RTYPE
static

Definition at line 189 of file algorithm.h.


The documentation for this struct was generated from the following file: