Description Usage Arguments Value Examples
Function to generate a vector of random hash functions (or optionally one vector-valued function)
1 | rhash_funcs(n, size, vector.valued, perfect = FALSE)
|
n |
Number of random hash functions |
size |
Range of each size |
vector.valued |
Flag for outputing vector of functions or vector-valued function |
perfect |
Flag for whether a perfect permutation should be done, or just a hash function |
Vector of n hash functions or a function which will take a number and return a vector of n different hashes of it
1 2 | rhash_funcs(1, 1, vector.valued=FALSE, perfect=FALSE)
rhash_funcs(5, 1, vector.valued=FALSE, perfect=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.