Rcpp Version 1.0.9
Rcpp::sugar::unary_minus< RTYPE, NA > Class Template Reference

#include <unary_minus.h>

Public Types

typedef traits::storage_type< RTYPE >::type STORAGE
 
typedef unary_minus_result_type< RTYPE >::type RESULT
 

Public Member Functions

RESULT apply (STORAGE x) const
 

Detailed Description

template<int RTYPE, bool NA>
class Rcpp::sugar::unary_minus< RTYPE, NA >

Definition at line 41 of file unary_minus.h.

Member Typedef Documentation

◆ RESULT

template<int RTYPE, bool NA>
typedef unary_minus_result_type<RTYPE>::type Rcpp::sugar::unary_minus< RTYPE, NA >::RESULT

Definition at line 44 of file unary_minus.h.

◆ STORAGE

template<int RTYPE, bool NA>
typedef traits::storage_type<RTYPE>::type Rcpp::sugar::unary_minus< RTYPE, NA >::STORAGE

Definition at line 43 of file unary_minus.h.

Member Function Documentation

◆ apply()

template<int RTYPE, bool NA>
RESULT Rcpp::sugar::unary_minus< RTYPE, NA >::apply ( STORAGE  x) const
inline

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