Skylark (Sketching Library)  0.1
Public Types | Public Member Functions
skylark::algorithms::regression_solver_t< regression_problem_t< elem::DistMatrix< ValueType >, linear_tag, l2_tag, no_reg_tag >, elem::DistMatrix< ValueType >, elem::DistMatrix< ValueType >, qr_l2_solver_tag > Class Template Reference

#include <linearl2_regression_solver_Elemental.hpp>

List of all members.

Public Types

typedef ValueType value_type
typedef elem::DistMatrix
< ValueType > 
matrix_type
typedef elem::DistMatrix
< ValueType > 
rhs_type
typedef elem::DistMatrix
< ValueType > 
sol_type
typedef regression_problem_t
< matrix_type, linear_tag,
l2_tag, no_reg_tag
problem_type

Public Member Functions

 regression_solver_t (const problem_type &problem)
void solve (const rhs_type &B, sol_type &X) const

Detailed Description

template<typename ValueType>
class skylark::algorithms::regression_solver_t< regression_problem_t< elem::DistMatrix< ValueType >, linear_tag, l2_tag, no_reg_tag >, elem::DistMatrix< ValueType >, elem::DistMatrix< ValueType >, qr_l2_solver_tag >

Regression solver for L2 linear regrssion on a dense distributed [MC,MR] matrix.

A regression solver accepts a right-hand side and output a solution the the regression problem.

The regression problem is fixed, so it is a parameter of the function constructing the regressoion.

Definition at line 157 of file linearl2_regression_solver_Elemental.hpp.


Member Typedef Documentation

Definition at line 168 of file linearl2_regression_solver_Elemental.hpp.

Definition at line 173 of file linearl2_regression_solver_Elemental.hpp.

Definition at line 169 of file linearl2_regression_solver_Elemental.hpp.

Definition at line 170 of file linearl2_regression_solver_Elemental.hpp.

template<typename ValueType >
typedef ValueType skylark::algorithms::regression_solver_t< regression_problem_t< elem::DistMatrix< ValueType >, linear_tag, l2_tag, no_reg_tag >, elem::DistMatrix< ValueType >, elem::DistMatrix< ValueType >, qr_l2_solver_tag >::value_type

Definition at line 166 of file linearl2_regression_solver_Elemental.hpp.


Constructor & Destructor Documentation

template<typename ValueType >
skylark::algorithms::regression_solver_t< regression_problem_t< elem::DistMatrix< ValueType >, linear_tag, l2_tag, no_reg_tag >, elem::DistMatrix< ValueType >, elem::DistMatrix< ValueType >, qr_l2_solver_tag >::regression_solver_t ( const problem_type problem) [inline]

Prepares the solver to quickly solve given a right-hand side.

Parameters:
problemProblem to solve given right-hand side.

Definition at line 188 of file linearl2_regression_solver_Elemental.hpp.


Member Function Documentation

template<typename ValueType >
void skylark::algorithms::regression_solver_t< regression_problem_t< elem::DistMatrix< ValueType >, linear_tag, l2_tag, no_reg_tag >, elem::DistMatrix< ValueType >, elem::DistMatrix< ValueType >, qr_l2_solver_tag >::solve ( const rhs_type B,
sol_type X 
) const [inline]

Solves the regression problem given a multiple right-hand sides.

Parameters:
BRight-hand sides.
XOutput (overwritten).

Definition at line 204 of file linearl2_regression_solver_Elemental.hpp.


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