Skylark (Sketching Library)  0.1
Public Types | Public Member Functions
skylark::sketch::dense_transform_t< elem::DistMatrix< ValueType >, elem::DistMatrix< ValueType, elem::CIRC, elem::CIRC >, ValueDistribution > Struct Template Reference

#include <dense_transform_Elemental_mc_mr_circ_circ.hpp>

Inheritance diagram for skylark::sketch::dense_transform_t< elem::DistMatrix< ValueType >, elem::DistMatrix< ValueType, elem::CIRC, elem::CIRC >, ValueDistribution >:
Inheritance graph
[legend]
Collaboration diagram for skylark::sketch::dense_transform_t< elem::DistMatrix< ValueType >, elem::DistMatrix< ValueType, elem::CIRC, elem::CIRC >, ValueDistribution >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef ValueType value_type
typedef elem::DistMatrix
< value_type
matrix_type
typedef elem::DistMatrix
< value_type, elem::CIRC,
elem::CIRC > 
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_tget_data () const

Detailed Description

template<typename ValueType, template< typename > class ValueDistribution>
struct skylark::sketch::dense_transform_t< elem::DistMatrix< ValueType >, elem::DistMatrix< ValueType, elem::CIRC, elem::CIRC >, ValueDistribution >

Specialization distributed input [MC, MR], distributed [CIRC, CIRC] output

Definition at line 20 of file dense_transform_Elemental_mc_mr_circ_circ.hpp.


Member Typedef Documentation

template<typename ValueType , template< typename > class ValueDistribution>
typedef dense_transform_data_t<ValueDistribution> skylark::sketch::dense_transform_t< elem::DistMatrix< ValueType >, elem::DistMatrix< ValueType, elem::CIRC, elem::CIRC >, ValueDistribution >::data_type
template<typename ValueType , template< typename > class ValueDistribution>
typedef elem::DistMatrix<value_type> skylark::sketch::dense_transform_t< elem::DistMatrix< ValueType >, elem::DistMatrix< ValueType, elem::CIRC, elem::CIRC >, ValueDistribution >::matrix_type
template<typename ValueType , template< typename > class ValueDistribution>
typedef elem::DistMatrix<value_type, elem::CIRC, elem::CIRC> skylark::sketch::dense_transform_t< elem::DistMatrix< ValueType >, elem::DistMatrix< ValueType, elem::CIRC, elem::CIRC >, ValueDistribution >::output_matrix_type
template<typename ValueType , template< typename > class ValueDistribution>
typedef ValueDistribution<value_type> skylark::sketch::dense_transform_t< elem::DistMatrix< ValueType >, elem::DistMatrix< ValueType, elem::CIRC, elem::CIRC >, ValueDistribution >::value_distribution_type
template<typename ValueType , template< typename > class ValueDistribution>
typedef ValueType skylark::sketch::dense_transform_t< elem::DistMatrix< ValueType >, elem::DistMatrix< ValueType, elem::CIRC, elem::CIRC >, ValueDistribution >::value_type

Constructor & Destructor Documentation

template<typename ValueType , template< typename > class ValueDistribution>
skylark::sketch::dense_transform_t< elem::DistMatrix< ValueType >, elem::DistMatrix< ValueType, elem::CIRC, elem::CIRC >, ValueDistribution >::dense_transform_t ( int  N,
int  S,
double  scale,
base::context_t context 
) [inline]

Regular constructor

Definition at line 37 of file dense_transform_Elemental_mc_mr_circ_circ.hpp.

template<typename ValueType , template< typename > class ValueDistribution>
skylark::sketch::dense_transform_t< elem::DistMatrix< ValueType >, elem::DistMatrix< ValueType, elem::CIRC, elem::CIRC >, ValueDistribution >::dense_transform_t ( dense_transform_t< matrix_type, output_matrix_type, ValueDistribution > &  other) [inline]

Copy constructor

Definition at line 45 of file dense_transform_Elemental_mc_mr_circ_circ.hpp.

template<typename ValueType , template< typename > class ValueDistribution>
skylark::sketch::dense_transform_t< elem::DistMatrix< ValueType >, elem::DistMatrix< ValueType, elem::CIRC, elem::CIRC >, ValueDistribution >::dense_transform_t ( const data_type other_data) [inline]

Constructor from data

Definition at line 54 of file dense_transform_Elemental_mc_mr_circ_circ.hpp.


Member Function Documentation

template<typename ValueType , template< typename > class ValueDistribution>
template<typename Dimension >
void skylark::sketch::dense_transform_t< elem::DistMatrix< ValueType >, elem::DistMatrix< ValueType, elem::CIRC, elem::CIRC >, 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 62 of file dense_transform_Elemental_mc_mr_circ_circ.hpp.

References SKYLARK_THROW_EXCEPTION.

template<typename ValueType , template< typename > class ValueDistribution>
const sketch_transform_data_t* skylark::sketch::dense_transform_t< elem::DistMatrix< ValueType >, elem::DistMatrix< ValueType, elem::CIRC, elem::CIRC >, ValueDistribution >::get_data ( ) const [inline]
template<typename ValueType , template< typename > class ValueDistribution>
int skylark::sketch::dense_transform_t< elem::DistMatrix< ValueType >, elem::DistMatrix< ValueType, elem::CIRC, elem::CIRC >, ValueDistribution >::get_N ( ) const [inline]

Get input dimension.

Definition at line 78 of file dense_transform_Elemental_mc_mr_circ_circ.hpp.

References skylark::sketch::sketch_transform_data_t::_N.

template<typename ValueType , template< typename > class ValueDistribution>
int skylark::sketch::dense_transform_t< elem::DistMatrix< ValueType >, elem::DistMatrix< ValueType, elem::CIRC, elem::CIRC >, ValueDistribution >::get_S ( ) const [inline]

Get output dimension.

Definition at line 79 of file dense_transform_Elemental_mc_mr_circ_circ.hpp.

References skylark::sketch::sketch_transform_data_t::_S.


The documentation for this struct was generated from the following file: