Rcpp Version 0.10.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros
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

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.

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

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

Definition at line 45 of file unary_minus.h.

References x.

Referenced by Rcpp::sugar::UnaryMinus_Vector< RTYPE, NA, T >::operator[]().


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