|
Rcpp Version 1.0.14
|
#include <SelfHash.h>
Public Types | |
| typedef traits::storage_type< RTYPE >::type | STORAGE |
| typedef Vector< RTYPE > | VECTOR |
Public Member Functions | |
| SelfHash (SEXP table) | |
| IntegerVector | fill_and_self_match () |
| int | size () const |
| int | add_value_get_index (int i) |
| unsigned int | get_index (STORAGE value) const |
| unsigned int | get_addr (STORAGE value) const |
| unsigned int | get_addr (int value) const |
| unsigned int | get_addr (double val) const |
| unsigned int | get_addr (SEXP value) const |
Public Attributes | |
| int | n |
| int | m |
| int | k |
| STORAGE * | src |
| std::vector< int > | data |
| std::vector< int > | indices |
| int | size_ |
Definition at line 32 of file SelfHash.h.
| typedef traits::storage_type<RTYPE>::type Rcpp::sugar::SelfHash< RTYPE >::STORAGE |
Definition at line 34 of file SelfHash.h.
| typedef Vector<RTYPE> Rcpp::sugar::SelfHash< RTYPE >::VECTOR |
Definition at line 35 of file SelfHash.h.
|
inline |
Definition at line 37 of file SelfHash.h.
References Rcpp::as(), Rcpp::sugar::SelfHash< RTYPE >::data, Rcpp::sugar::SelfHash< RTYPE >::indices, Rcpp::sugar::SelfHash< RTYPE >::k, Rcpp::sugar::SelfHash< RTYPE >::m, and Rcpp::sugar::SelfHash< RTYPE >::n.

|
inline |
Definition at line 63 of file SelfHash.h.
References Rcpp::as(), Rcpp::sugar::SelfHash< RTYPE >::data, Rcpp::sugar::SelfHash< RTYPE >::get_addr(), Rcpp::sugar::SelfHash< RTYPE >::indices, Rcpp::sugar::SelfHash< RTYPE >::m, Rcpp::sugar::SelfHash< RTYPE >::size_, and Rcpp::sugar::SelfHash< RTYPE >::src.
Referenced by Rcpp::sugar::SelfHash< RTYPE >::fill_and_self_match().

|
inline |
Definition at line 46 of file SelfHash.h.
References Rcpp::sugar::SelfHash< RTYPE >::add_value_get_index(), Rcpp::as(), Rcpp::sugar::SelfHash< RTYPE >::n, and Rcpp::no_init().
Referenced by Rcpp::self_match().

|
inline |
Definition at line 98 of file SelfHash.h.
References Rcpp::as(), Rcpp::internal::as(), and RCPP_HASH.

|
inline |
Definition at line 94 of file SelfHash.h.
References RCPP_HASH.
|
inline |
Definition at line 115 of file SelfHash.h.
References Rcpp::as(), and RCPP_HASH.

| unsigned int Rcpp::sugar::SelfHash< RTYPE >::get_addr | ( | STORAGE | value | ) | const |
|
inline |
Definition at line 78 of file SelfHash.h.
References Rcpp::as(), Rcpp::sugar::SelfHash< RTYPE >::data, Rcpp::sugar::SelfHash< RTYPE >::get_addr(), Rcpp::sugar::SelfHash< RTYPE >::m, and Rcpp::sugar::SelfHash< RTYPE >::src.

|
inline |
Definition at line 53 of file SelfHash.h.
References Rcpp::sugar::SelfHash< RTYPE >::size_.
| std::vector<int> Rcpp::sugar::SelfHash< RTYPE >::data |
Definition at line 59 of file SelfHash.h.
Referenced by Rcpp::sugar::SelfHash< RTYPE >::add_value_get_index(), Rcpp::sugar::SelfHash< RTYPE >::get_index(), and Rcpp::sugar::SelfHash< RTYPE >::SelfHash().
| std::vector<int> Rcpp::sugar::SelfHash< RTYPE >::indices |
Definition at line 60 of file SelfHash.h.
Referenced by Rcpp::sugar::SelfHash< RTYPE >::add_value_get_index(), and Rcpp::sugar::SelfHash< RTYPE >::SelfHash().
| int Rcpp::sugar::SelfHash< RTYPE >::k |
Definition at line 57 of file SelfHash.h.
Referenced by Rcpp::sugar::SelfHash< RTYPE >::SelfHash().
| int Rcpp::sugar::SelfHash< RTYPE >::m |
Definition at line 57 of file SelfHash.h.
Referenced by Rcpp::sugar::SelfHash< RTYPE >::add_value_get_index(), Rcpp::sugar::SelfHash< RTYPE >::get_index(), and Rcpp::sugar::SelfHash< RTYPE >::SelfHash().
| int Rcpp::sugar::SelfHash< RTYPE >::n |
Definition at line 57 of file SelfHash.h.
Referenced by Rcpp::sugar::SelfHash< RTYPE >::fill_and_self_match(), and Rcpp::sugar::SelfHash< RTYPE >::SelfHash().
| int Rcpp::sugar::SelfHash< RTYPE >::size_ |
Definition at line 61 of file SelfHash.h.
Referenced by Rcpp::sugar::SelfHash< RTYPE >::add_value_get_index(), and Rcpp::sugar::SelfHash< RTYPE >::size().
| STORAGE* Rcpp::sugar::SelfHash< RTYPE >::src |
Definition at line 58 of file SelfHash.h.
Referenced by Rcpp::sugar::SelfHash< RTYPE >::add_value_get_index(), and Rcpp::sugar::SelfHash< RTYPE >::get_index().