Skylark (Sketching Library)  0.1
Public Types | Public Member Functions
skylark::algorithms::regression_solver_t< regression_problem_t< elem::Matrix< ValueType >, linear_tag, l2_tag, no_reg_tag >, elem::Matrix< ValueType >, elem::Matrix< 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::Matrix< ValueType > matrix_type
typedef elem::Matrix< ValueType > rhs_type
typedef elem::Matrix< ValueType > sol_type
typedef regression_problem_t
< elem::Matrix< ValueType >
, 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, rhs_type &X) const

Detailed Description

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

Regression solver for L2 linear regression on a dense local 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 23 of file linearl2_regression_solver_Elemental.hpp.


Member Typedef Documentation

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

Definition at line 34 of file linearl2_regression_solver_Elemental.hpp.

Definition at line 39 of file linearl2_regression_solver_Elemental.hpp.

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

Definition at line 35 of file linearl2_regression_solver_Elemental.hpp.

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

Definition at line 36 of file linearl2_regression_solver_Elemental.hpp.

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

Definition at line 32 of file linearl2_regression_solver_Elemental.hpp.


Constructor & Destructor Documentation

template<typename ValueType >
skylark::algorithms::regression_solver_t< regression_problem_t< elem::Matrix< ValueType >, linear_tag, l2_tag, no_reg_tag >, elem::Matrix< ValueType >, elem::Matrix< 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 54 of file linearl2_regression_solver_Elemental.hpp.


Member Function Documentation

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

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

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

Definition at line 68 of file linearl2_regression_solver_Elemental.hpp.


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