Skylark (Sketching Library)  0.1
Typedefs | Functions | Variables
/var/lib/jenkins/jobs/Skylark/workspace/examples/svd.cpp File Reference
#include <iostream>
#include <functional>
#include <cstring>
#include <vector>
#include <utility>
#include <ext/hash_map>
#include <elemental.hpp>
#include <boost/mpi.hpp>
#include <skylark.hpp>
#include "utilities.hpp"
#include "parser.hpp"
Include dependency graph for svd.cpp:

Go to the source code of this file.

Typedefs

typedef std::vector< int > IntContainer
typedef std::vector< double > DblContainer
typedef elem::Matrix< double > MatrixType
typedef elem::DistMatrix
< double, elem::VR, elem::STAR > 
DistMatrixType

Functions

int main (int argc, char **argv)

Variables

int int_params [NUM_INT_PARAMETERS]
char * chr_params [NUM_CHR_PARAMETERS]

Typedef Documentation

typedef std::vector<double> DblContainer

Definition at line 26 of file svd.cpp.

typedef elem::DistMatrix<double, elem::VR, elem::STAR> DistMatrixType

Definition at line 28 of file svd.cpp.

typedef std::vector<int> IntContainer

Typedef DistMatrix and Matrix

Definition at line 25 of file svd.cpp.

typedef elem::Matrix<double> MatrixType

Definition at line 27 of file svd.cpp.


Function Documentation

int main ( int  argc,
char **  argv 
)

Only randomization is supported for now

TODO: Read the entries!

Depending on which sketch is requested, do the sketching.

Definition at line 30 of file svd.cpp.

References chr_params, skylark::base::Gemm(), int_params, m, and n.

Here is the call graph for this function:


Variable Documentation

char* chr_params[NUM_CHR_PARAMETERS]

Definition at line 22 of file svd.cpp.

int int_params[NUM_INT_PARAMETERS]

This file cannot be built without CombBLAS and Elemental both being present. The accompanying CMakeLists.txt checks for both libraries to be available.

Definition at line 21 of file svd.cpp.