Skylark (Sketching Library)  0.1
Public Types | Public Member Functions
skylark::sketch::hash_transform_t< elem::DistMatrix< ValueType, ColDist, RowDist >, elem::DistMatrix< ValueType, elem::STAR, elem::STAR >, IdxDistributionType, ValueDistribution > Struct Template Reference

#include <hash_transform_Elemental.hpp>

Inheritance diagram for skylark::sketch::hash_transform_t< elem::DistMatrix< ValueType, ColDist, RowDist >, elem::DistMatrix< ValueType, elem::STAR, elem::STAR >, IdxDistributionType, ValueDistribution >:
Inheritance graph
[legend]
Collaboration diagram for skylark::sketch::hash_transform_t< elem::DistMatrix< ValueType, ColDist, RowDist >, elem::DistMatrix< ValueType, elem::STAR, elem::STAR >, IdxDistributionType, ValueDistribution >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef ValueType value_type
typedef elem::DistMatrix
< value_type, ColDist, RowDist > 
matrix_type
typedef elem::DistMatrix
< value_type, elem::STAR,
elem::STAR > 
output_matrix_type
typedef IdxDistributionType
< size_t > 
idx_distribution_type
typedef ValueDistribution
< value_type
value_distribution_type
typedef hash_transform_data_t
< IdxDistributionType,
ValueDistribution > 
data_type

Public Member Functions

 hash_transform_t (int N, int S, base::context_t &context)
 hash_transform_t (const hash_transform_t< matrix_type, output_matrix_type, IdxDistributionType, ValueDistribution > &other)
 hash_transform_t (const data_type &other_data)
void apply (const matrix_type &A, output_matrix_type &sketch_of_A, columnwise_tag dimension) const
void apply (const matrix_type &A, output_matrix_type &sketch_of_A, rowwise_tag dimension) const
int get_N () const
int get_S () const
const sketch_transform_data_tget_data () const

Detailed Description

template<typename ValueType, elem::Distribution ColDist, elem::Distribution RowDist, template< typename > class IdxDistributionType, template< typename > class ValueDistribution>
struct skylark::sketch::hash_transform_t< elem::DistMatrix< ValueType, ColDist, RowDist >, elem::DistMatrix< ValueType, elem::STAR, elem::STAR >, IdxDistributionType, ValueDistribution >

Specialization: [Whatever, Whatever] -> [STAR, STAR]

Definition at line 423 of file hash_transform_Elemental.hpp.


Member Typedef Documentation

template<typename ValueType , elem::Distribution ColDist, elem::Distribution RowDist, template< typename > class IdxDistributionType, template< typename > class ValueDistribution>
typedef hash_transform_data_t<IdxDistributionType, ValueDistribution> skylark::sketch::hash_transform_t< elem::DistMatrix< ValueType, ColDist, RowDist >, elem::DistMatrix< ValueType, elem::STAR, elem::STAR >, IdxDistributionType, ValueDistribution >::data_type

Definition at line 443 of file hash_transform_Elemental.hpp.

template<typename ValueType , elem::Distribution ColDist, elem::Distribution RowDist, template< typename > class IdxDistributionType, template< typename > class ValueDistribution>
typedef IdxDistributionType<size_t> skylark::sketch::hash_transform_t< elem::DistMatrix< ValueType, ColDist, RowDist >, elem::DistMatrix< ValueType, elem::STAR, elem::STAR >, IdxDistributionType, ValueDistribution >::idx_distribution_type
template<typename ValueType , elem::Distribution ColDist, elem::Distribution RowDist, template< typename > class IdxDistributionType, template< typename > class ValueDistribution>
typedef elem::DistMatrix<value_type, ColDist, RowDist> skylark::sketch::hash_transform_t< elem::DistMatrix< ValueType, ColDist, RowDist >, elem::DistMatrix< ValueType, elem::STAR, elem::STAR >, IdxDistributionType, ValueDistribution >::matrix_type

Definition at line 438 of file hash_transform_Elemental.hpp.

template<typename ValueType , elem::Distribution ColDist, elem::Distribution RowDist, template< typename > class IdxDistributionType, template< typename > class ValueDistribution>
typedef elem::DistMatrix<value_type, elem::STAR, elem::STAR> skylark::sketch::hash_transform_t< elem::DistMatrix< ValueType, ColDist, RowDist >, elem::DistMatrix< ValueType, elem::STAR, elem::STAR >, IdxDistributionType, ValueDistribution >::output_matrix_type

Definition at line 439 of file hash_transform_Elemental.hpp.

template<typename ValueType , elem::Distribution ColDist, elem::Distribution RowDist, template< typename > class IdxDistributionType, template< typename > class ValueDistribution>
typedef ValueDistribution<value_type> skylark::sketch::hash_transform_t< elem::DistMatrix< ValueType, ColDist, RowDist >, elem::DistMatrix< ValueType, elem::STAR, elem::STAR >, IdxDistributionType, ValueDistribution >::value_distribution_type
template<typename ValueType , elem::Distribution ColDist, elem::Distribution RowDist, template< typename > class IdxDistributionType, template< typename > class ValueDistribution>
typedef ValueType skylark::sketch::hash_transform_t< elem::DistMatrix< ValueType, ColDist, RowDist >, elem::DistMatrix< ValueType, elem::STAR, elem::STAR >, IdxDistributionType, ValueDistribution >::value_type

Definition at line 437 of file hash_transform_Elemental.hpp.


Constructor & Destructor Documentation

template<typename ValueType , elem::Distribution ColDist, elem::Distribution RowDist, template< typename > class IdxDistributionType, template< typename > class ValueDistribution>
skylark::sketch::hash_transform_t< elem::DistMatrix< ValueType, ColDist, RowDist >, elem::DistMatrix< ValueType, elem::STAR, elem::STAR >, IdxDistributionType, ValueDistribution >::hash_transform_t ( int  N,
int  S,
base::context_t context 
) [inline]

Regular constructor

Definition at line 447 of file hash_transform_Elemental.hpp.

template<typename ValueType , elem::Distribution ColDist, elem::Distribution RowDist, template< typename > class IdxDistributionType, template< typename > class ValueDistribution>
skylark::sketch::hash_transform_t< elem::DistMatrix< ValueType, ColDist, RowDist >, elem::DistMatrix< ValueType, elem::STAR, elem::STAR >, IdxDistributionType, ValueDistribution >::hash_transform_t ( const hash_transform_t< matrix_type, output_matrix_type, IdxDistributionType, ValueDistribution > &  other) [inline]

Copy constructor

Definition at line 455 of file hash_transform_Elemental.hpp.

template<typename ValueType , elem::Distribution ColDist, elem::Distribution RowDist, template< typename > class IdxDistributionType, template< typename > class ValueDistribution>
skylark::sketch::hash_transform_t< elem::DistMatrix< ValueType, ColDist, RowDist >, elem::DistMatrix< ValueType, elem::STAR, elem::STAR >, IdxDistributionType, ValueDistribution >::hash_transform_t ( const data_type other_data) [inline]

Constructor from data

Definition at line 464 of file hash_transform_Elemental.hpp.


Member Function Documentation

template<typename ValueType , elem::Distribution ColDist, elem::Distribution RowDist, template< typename > class IdxDistributionType, template< typename > class ValueDistribution>
void skylark::sketch::hash_transform_t< elem::DistMatrix< ValueType, ColDist, RowDist >, elem::DistMatrix< ValueType, elem::STAR, elem::STAR >, IdxDistributionType, ValueDistribution >::apply ( const matrix_type A,
output_matrix_type sketch_of_A,
columnwise_tag  dimension 
) const [inline]

Apply columnwise the sketching transform that is described by the the transform with output sketch_of_A.

Definition at line 471 of file hash_transform_Elemental.hpp.

References SKYLARK_THROW_EXCEPTION.

template<typename ValueType , elem::Distribution ColDist, elem::Distribution RowDist, template< typename > class IdxDistributionType, template< typename > class ValueDistribution>
void skylark::sketch::hash_transform_t< elem::DistMatrix< ValueType, ColDist, RowDist >, elem::DistMatrix< ValueType, elem::STAR, elem::STAR >, IdxDistributionType, ValueDistribution >::apply ( const matrix_type A,
output_matrix_type sketch_of_A,
rowwise_tag  dimension 
) const [inline]

Apply rowwise the sketching transform that is described by the the transform with output sketch_of_A.

Definition at line 490 of file hash_transform_Elemental.hpp.

References SKYLARK_THROW_EXCEPTION.

template<typename ValueType , elem::Distribution ColDist, elem::Distribution RowDist, template< typename > class IdxDistributionType, template< typename > class ValueDistribution>
const sketch_transform_data_t* skylark::sketch::hash_transform_t< elem::DistMatrix< ValueType, ColDist, RowDist >, elem::DistMatrix< ValueType, elem::STAR, elem::STAR >, IdxDistributionType, ValueDistribution >::get_data ( ) const [inline, virtual]
template<typename ValueType , elem::Distribution ColDist, elem::Distribution RowDist, template< typename > class IdxDistributionType, template< typename > class ValueDistribution>
int skylark::sketch::hash_transform_t< elem::DistMatrix< ValueType, ColDist, RowDist >, elem::DistMatrix< ValueType, elem::STAR, elem::STAR >, IdxDistributionType, ValueDistribution >::get_N ( ) const [inline, virtual]
template<typename ValueType , elem::Distribution ColDist, elem::Distribution RowDist, template< typename > class IdxDistributionType, template< typename > class ValueDistribution>
int skylark::sketch::hash_transform_t< elem::DistMatrix< ValueType, ColDist, RowDist >, elem::DistMatrix< ValueType, elem::STAR, elem::STAR >, IdxDistributionType, ValueDistribution >::get_S ( ) const [inline, virtual]

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