Skylark (Sketching Library)  0.1
Public Types | Public Member Functions
skylark::sketch::FastGaussianRFT_t< InputMatrixType, OutputMatrixType > Struct Template Reference

#include <FRFT.hpp>

Inheritance diagram for skylark::sketch::FastGaussianRFT_t< InputMatrixType, OutputMatrixType >:
Inheritance graph
[legend]
Collaboration diagram for skylark::sketch::FastGaussianRFT_t< InputMatrixType, OutputMatrixType >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef FastRFT_t
< InputMatrixType,
OutputMatrixType > 
transform_t
typedef FastGaussianRFT_data_t data_type
typedef data_type::params_t params_t

Public Member Functions

 FastGaussianRFT_t (int N, int S, double sigma, base::context_t &context)
 FastGaussianRFT_t (int N, int S, const params_t &params, base::context_t &context)
template<typename OtherInputMatrixType , typename OtherOutputMatrixType >
 FastGaussianRFT_t (const FastGaussianRFT_t< OtherInputMatrixType, OtherOutputMatrixType > &other)
 FastGaussianRFT_t (const data_type &other)
void apply (const typename transform_t::matrix_type &A, typename transform_t::output_matrix_type &sketch_of_A, columnwise_tag dimension) const
void apply (const typename transform_t::matrix_type &A, typename transform_t::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 InputMatrixType, typename OutputMatrixType = InputMatrixType>
struct skylark::sketch::FastGaussianRFT_t< InputMatrixType, OutputMatrixType >

FastRandom Features for Gaussian Kernel

Definition at line 78 of file FRFT.hpp.


Member Typedef Documentation

template<typename InputMatrixType, typename OutputMatrixType = InputMatrixType>
typedef FastGaussianRFT_data_t skylark::sketch::FastGaussianRFT_t< InputMatrixType, OutputMatrixType >::data_type

Definition at line 85 of file FRFT.hpp.

template<typename InputMatrixType, typename OutputMatrixType = InputMatrixType>
typedef data_type::params_t skylark::sketch::FastGaussianRFT_t< InputMatrixType, OutputMatrixType >::params_t

Definition at line 86 of file FRFT.hpp.

template<typename InputMatrixType, typename OutputMatrixType = InputMatrixType>
typedef FastRFT_t<InputMatrixType, OutputMatrixType > skylark::sketch::FastGaussianRFT_t< InputMatrixType, OutputMatrixType >::transform_t

Definition at line 83 of file FRFT.hpp.


Constructor & Destructor Documentation

template<typename InputMatrixType, typename OutputMatrixType = InputMatrixType>
skylark::sketch::FastGaussianRFT_t< InputMatrixType, OutputMatrixType >::FastGaussianRFT_t ( int  N,
int  S,
double  sigma,
base::context_t context 
) [inline]

Definition at line 88 of file FRFT.hpp.

template<typename InputMatrixType, typename OutputMatrixType = InputMatrixType>
skylark::sketch::FastGaussianRFT_t< InputMatrixType, OutputMatrixType >::FastGaussianRFT_t ( int  N,
int  S,
const params_t params,
base::context_t context 
) [inline]

Definition at line 93 of file FRFT.hpp.

template<typename InputMatrixType, typename OutputMatrixType = InputMatrixType>
template<typename OtherInputMatrixType , typename OtherOutputMatrixType >
skylark::sketch::FastGaussianRFT_t< InputMatrixType, OutputMatrixType >::FastGaussianRFT_t ( const FastGaussianRFT_t< OtherInputMatrixType, OtherOutputMatrixType > &  other) [inline]

Definition at line 101 of file FRFT.hpp.

template<typename InputMatrixType, typename OutputMatrixType = InputMatrixType>
skylark::sketch::FastGaussianRFT_t< InputMatrixType, OutputMatrixType >::FastGaussianRFT_t ( const data_type other) [inline]

Definition at line 107 of file FRFT.hpp.


Member Function Documentation

template<typename InputMatrixType, typename OutputMatrixType = InputMatrixType>
void skylark::sketch::FastGaussianRFT_t< InputMatrixType, OutputMatrixType >::apply ( const typename transform_t::matrix_type &  A,
typename transform_t::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 116 of file FRFT.hpp.

template<typename InputMatrixType, typename OutputMatrixType = InputMatrixType>
void skylark::sketch::FastGaussianRFT_t< InputMatrixType, OutputMatrixType >::apply ( const typename transform_t::matrix_type &  A,
typename transform_t::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 126 of file FRFT.hpp.

template<typename InputMatrixType, typename OutputMatrixType = InputMatrixType>
const sketch_transform_data_t* skylark::sketch::FastGaussianRFT_t< InputMatrixType, OutputMatrixType >::get_data ( ) const [inline, virtual]
template<typename InputMatrixType, typename OutputMatrixType = InputMatrixType>
int skylark::sketch::FastGaussianRFT_t< InputMatrixType, OutputMatrixType >::get_N ( ) const [inline, virtual]

Get input dimesion.

Implements skylark::sketch::sketch_transform_t< InputMatrixType, OutputMatrixType >.

Definition at line 132 of file FRFT.hpp.

template<typename InputMatrixType, typename OutputMatrixType = InputMatrixType>
int skylark::sketch::FastGaussianRFT_t< InputMatrixType, OutputMatrixType >::get_S ( ) const [inline, virtual]

Get output dimesion.

Implements skylark::sketch::sketch_transform_t< InputMatrixType, OutputMatrixType >.

Definition at line 133 of file FRFT.hpp.


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