Skylark (Sketching Library)
0.1
|
#include <CT_data.hpp>
Classes | |
struct | params_t |
Params structure. More... | |
Public Types | |
typedef dense_transform_data_t < bstrand::cauchy_distribution > | base_t |
Public Member Functions | |
CT_data_t (int N, int S, double C, skylark::base::context_t &context) | |
CT_data_t (int N, int S, const params_t ¶ms, skylark::base::context_t &context) | |
CT_data_t (const boost::property_tree::ptree &pt) | |
virtual boost::property_tree::ptree | to_ptree () const |
Protected Member Functions | |
CT_data_t (int N, int S, double C, const skylark::base::context_t &context, std::string type) |
Cauchy Transform (data)
The CT is simply a dense random matrix with i.i.d Cauchy variables
Definition at line 20 of file CT_data.hpp.
typedef dense_transform_data_t<bstrand::cauchy_distribution> skylark::sketch::CT_data_t::base_t |
Reimplemented from skylark::sketch::dense_transform_data_t< bstrand::cauchy_distribution >.
Definition at line 23 of file CT_data.hpp.
skylark::sketch::CT_data_t::CT_data_t | ( | int | N, |
int | S, | ||
double | C, | ||
skylark::base::context_t & | context | ||
) | [inline] |
Definition at line 35 of file CT_data.hpp.
References skylark::sketch::dense_transform_data_t< bstrand::cauchy_distribution >::build().
skylark::sketch::CT_data_t::CT_data_t | ( | int | N, |
int | S, | ||
const params_t & | params, | ||
skylark::base::context_t & | context | ||
) | [inline] |
Definition at line 41 of file CT_data.hpp.
References skylark::sketch::dense_transform_data_t< bstrand::cauchy_distribution >::build().
skylark::sketch::CT_data_t::CT_data_t | ( | const boost::property_tree::ptree & | pt | ) | [inline] |
Definition at line 49 of file CT_data.hpp.
References skylark::sketch::dense_transform_data_t< bstrand::cauchy_distribution >::build().
skylark::sketch::CT_data_t::CT_data_t | ( | int | N, |
int | S, | ||
double | C, | ||
const skylark::base::context_t & | context, | ||
std::string | type | ||
) | [inline, protected] |
Definition at line 73 of file CT_data.hpp.
virtual boost::property_tree::ptree skylark::sketch::CT_data_t::to_ptree | ( | ) | const [inline, virtual] |
Serializes a sketch to a string.
[out] | property_tree | describing the sketch. |
Reimplemented from skylark::sketch::dense_transform_data_t< bstrand::cauchy_distribution >.
Definition at line 64 of file CT_data.hpp.
References skylark::sketch::sketch_transform_data_t::add_common().