Skylark (Sketching Library)
0.1
|
#include <RFT_Elemental.hpp>
Public Types | |
typedef ValueType | value_type |
typedef InputType< value_type > | matrix_type |
typedef elem::Matrix< value_type > | output_matrix_type |
typedef RFT_data_t < KernelDistribution > | data_type |
Public Member Functions | |
RFT_t (const RFT_t< matrix_type, output_matrix_type, KernelDistribution > &other) | |
RFT_t (const data_type &other_data) | |
template<typename Dimension > | |
void | apply (const matrix_type &A, output_matrix_type &sketch_of_A, Dimension dimension) const |
Protected Member Functions | |
RFT_t (int N, int S, base::context_t &context) |
Specialization for local input (dense or sparse), local output (dense)
Definition at line 13 of file RFT_Elemental.hpp.
typedef RFT_data_t<KernelDistribution> skylark::sketch::RFT_t< InputType< ValueType >, elem::Matrix< ValueType >, KernelDistribution >::data_type |
Definition at line 23 of file RFT_Elemental.hpp.
typedef InputType<value_type> skylark::sketch::RFT_t< InputType< ValueType >, elem::Matrix< ValueType >, KernelDistribution >::matrix_type |
Definition at line 21 of file RFT_Elemental.hpp.
typedef elem::Matrix<value_type> skylark::sketch::RFT_t< InputType< ValueType >, elem::Matrix< ValueType >, KernelDistribution >::output_matrix_type |
Definition at line 22 of file RFT_Elemental.hpp.
typedef ValueType skylark::sketch::RFT_t< InputType< ValueType >, elem::Matrix< ValueType >, KernelDistribution >::value_type |
Definition at line 20 of file RFT_Elemental.hpp.
skylark::sketch::RFT_t< InputType< ValueType >, elem::Matrix< ValueType >, KernelDistribution >::RFT_t | ( | int | N, |
int | S, | ||
base::context_t & | context | ||
) | [inline, protected] |
Regular constructor - Allow creation only by subclasses
Definition at line 35 of file RFT_Elemental.hpp.
skylark::sketch::RFT_t< InputType< ValueType >, elem::Matrix< ValueType >, KernelDistribution >::RFT_t | ( | const RFT_t< matrix_type, output_matrix_type, KernelDistribution > & | other | ) | [inline] |
Copy constructor
Definition at line 44 of file RFT_Elemental.hpp.
skylark::sketch::RFT_t< InputType< ValueType >, elem::Matrix< ValueType >, KernelDistribution >::RFT_t | ( | const data_type & | other_data | ) | [inline] |
Constructor from data
Definition at line 54 of file RFT_Elemental.hpp.
void skylark::sketch::RFT_t< InputType< ValueType >, elem::Matrix< ValueType >, KernelDistribution >::apply | ( | const matrix_type & | A, |
output_matrix_type & | sketch_of_A, | ||
Dimension | dimension | ||
) | const [inline] |
Apply the sketching transform that is described in by the sketch_of_A.
Definition at line 63 of file RFT_Elemental.hpp.
References SKYLARK_THROW_EXCEPTION.