Skylark (Sketching Library)  0.1
Classes | Typedefs | Functions | Variables
/var/lib/jenkins/jobs/Skylark/workspace/examples/regression.cpp File Reference
#include <iostream>
#include <elemental.hpp>
#include <boost/mpi.hpp>
#include <boost/format.hpp>
#include <skylark.hpp>
Include dependency graph for regression.cpp:

Go to the source code of this file.

Classes

struct  exact_solver_type< AlgTag >
class  cmatrix
struct  exact_solver_type1< AlgTag >
struct  accelerated_exact_solver_type_sb< TransformType >
struct  accelerated_exact_solver_type_blendenpik
struct  accelerated_exact_solver_type_lsrn
struct  exact_solver_type< skyalg::iterative_l2_solver_tag< KT > >
struct  sketched_solver_type< TransformType >

Typedefs

typedef elem::DistMatrix
< double, elem::VC, elem::STAR > 
matrix_type
typedef elem::DistMatrix
< double, elem::VC, elem::STAR > 
rhs_type
typedef elem::DistMatrix
< double, elem::STAR,
elem::STAR > 
sol_type
typedef elem::DistMatrix
< double, elem::STAR,
elem::STAR > 
sketch_type
typedef elem::DistMatrix
< double, elem::STAR,
elem::STAR > 
precond_type
typedef
skyalg::regression_problem_t
< matrix_type,
skyalg::linear_tag,
skyalg::l2_tag,
skyalg::no_reg_tag
regression_problem_type
typedef
skyalg::regression_problem_t
< skybase::computed_matrix_t
< matrix_type >
, skyalg::linear_tag,
skyalg::l2_tag,
skyalg::no_reg_tag
regression_problem_type1

Functions

template<typename ProblemType , typename RhsType , typename SolType >
void check_solution (const ProblemType &pr, const RhsType &b, const SolType &x, const RhsType &r0, double &res, double &resAtr, double &resFac)
int main (int argc, char **argv)

Variables

const int m = 30000
const int n = 500
const int t = 2000

Typedef Documentation

typedef elem::DistMatrix<double, elem::VC, elem::STAR> matrix_type

Definition at line 28 of file regression.cpp.

typedef elem::DistMatrix<double, elem::STAR, elem::STAR> precond_type

Definition at line 32 of file regression.cpp.

Definition at line 37 of file regression.cpp.

Definition at line 71 of file regression.cpp.

typedef elem::DistMatrix<double, elem::VC, elem::STAR> rhs_type

Definition at line 29 of file regression.cpp.

typedef elem::DistMatrix<double, elem::STAR, elem::STAR> sketch_type

Definition at line 31 of file regression.cpp.

typedef elem::DistMatrix<double, elem::STAR, elem::STAR> sol_type

Definition at line 30 of file regression.cpp.


Function Documentation

template<typename ProblemType , typename RhsType , typename SolType >
void check_solution ( const ProblemType pr,
const RhsType &  b,
const SolType &  x,
const RhsType &  r0,
double &  res,
double &  resAtr,
double &  resFac 
)

Definition at line 195 of file regression.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 212 of file regression.cpp.

References skylark::nla::iter_params_t::am_i_printing, check_solution(), skylark::nla::iter_params_t::log_level, m, n, and t.

Here is the call graph for this function:


Variable Documentation

const int m = 30000

Definition at line 23 of file regression.cpp.

const int n = 500

Definition at line 24 of file regression.cpp.

const int t = 2000