Skylark (Sketching Library)
0.1
|
#include <dense_transform_Elemental_mc_mr_local.hpp>
Public Types | |
typedef ValueType | value_type |
typedef elem::DistMatrix < value_type > | matrix_type |
typedef elem::Matrix< value_type > | output_matrix_type |
typedef ValueDistribution < value_type > | value_distribution_type |
typedef dense_transform_data_t < ValueDistribution > | data_type |
Public Member Functions | |
dense_transform_t (int N, int S, double scale, base::context_t &context) | |
dense_transform_t (dense_transform_t< matrix_type, output_matrix_type, ValueDistribution > &other) | |
dense_transform_t (const data_type &other_data) | |
template<typename Dimension > | |
void | apply (const matrix_type &A, output_matrix_type &sketch_of_A, Dimension dimension) const |
int | get_N () const |
int | get_S () const |
const sketch_transform_data_t * | get_data () const |
Specialization distributed input [MC, MR], local output
Definition at line 20 of file dense_transform_Elemental_mc_mr_local.hpp.
typedef dense_transform_data_t<ValueDistribution> skylark::sketch::dense_transform_t< elem::DistMatrix< ValueType >, elem::Matrix< ValueType >, ValueDistribution >::data_type |
Definition at line 31 of file dense_transform_Elemental_mc_mr_local.hpp.
typedef elem::DistMatrix<value_type> skylark::sketch::dense_transform_t< elem::DistMatrix< ValueType >, elem::Matrix< ValueType >, ValueDistribution >::matrix_type |
Definition at line 28 of file dense_transform_Elemental_mc_mr_local.hpp.
typedef elem::Matrix<value_type> skylark::sketch::dense_transform_t< elem::DistMatrix< ValueType >, elem::Matrix< ValueType >, ValueDistribution >::output_matrix_type |
Definition at line 29 of file dense_transform_Elemental_mc_mr_local.hpp.
typedef ValueDistribution<value_type> skylark::sketch::dense_transform_t< elem::DistMatrix< ValueType >, elem::Matrix< ValueType >, ValueDistribution >::value_distribution_type |
Reimplemented from skylark::sketch::dense_transform_data_t< ValueDistribution >.
Definition at line 30 of file dense_transform_Elemental_mc_mr_local.hpp.
typedef ValueType skylark::sketch::dense_transform_t< elem::DistMatrix< ValueType >, elem::Matrix< ValueType >, ValueDistribution >::value_type |
Reimplemented from skylark::sketch::dense_transform_data_t< ValueDistribution >.
Definition at line 27 of file dense_transform_Elemental_mc_mr_local.hpp.
skylark::sketch::dense_transform_t< elem::DistMatrix< ValueType >, elem::Matrix< ValueType >, ValueDistribution >::dense_transform_t | ( | int | N, |
int | S, | ||
double | scale, | ||
base::context_t & | context | ||
) | [inline] |
Regular constructor
Definition at line 36 of file dense_transform_Elemental_mc_mr_local.hpp.
skylark::sketch::dense_transform_t< elem::DistMatrix< ValueType >, elem::Matrix< ValueType >, ValueDistribution >::dense_transform_t | ( | dense_transform_t< matrix_type, output_matrix_type, ValueDistribution > & | other | ) | [inline] |
Copy constructor
Definition at line 44 of file dense_transform_Elemental_mc_mr_local.hpp.
skylark::sketch::dense_transform_t< elem::DistMatrix< ValueType >, elem::Matrix< ValueType >, ValueDistribution >::dense_transform_t | ( | const data_type & | other_data | ) | [inline] |
Constructor from data
Definition at line 52 of file dense_transform_Elemental_mc_mr_local.hpp.
void skylark::sketch::dense_transform_t< elem::DistMatrix< ValueType >, elem::Matrix< ValueType >, ValueDistribution >::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 60 of file dense_transform_Elemental_mc_mr_local.hpp.
References SKYLARK_THROW_EXCEPTION.
const sketch_transform_data_t* skylark::sketch::dense_transform_t< elem::DistMatrix< ValueType >, elem::Matrix< ValueType >, ValueDistribution >::get_data | ( | ) | const [inline] |
Definition at line 79 of file dense_transform_Elemental_mc_mr_local.hpp.
int skylark::sketch::dense_transform_t< elem::DistMatrix< ValueType >, elem::Matrix< ValueType >, ValueDistribution >::get_N | ( | ) | const [inline] |
Get input dimension.
Definition at line 76 of file dense_transform_Elemental_mc_mr_local.hpp.
References skylark::sketch::sketch_transform_data_t::_N.
int skylark::sketch::dense_transform_t< elem::DistMatrix< ValueType >, elem::Matrix< ValueType >, ValueDistribution >::get_S | ( | ) | const [inline] |
Get output dimension.
Definition at line 77 of file dense_transform_Elemental_mc_mr_local.hpp.
References skylark::sketch::sketch_transform_data_t::_S.