1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* 
 * File:   LeastSquares.h
 * Author: chung
 *
 * Created on January 14, 2016, 2:38 AM
 */

#ifndef LEASTSQUARES_H
#define	LEASTSQUARES_H

#include "MatrixSolver.h"
#include "lapacke.h"


class LeastSquares : public MatrixSolver{
public:
    LeastSquares(Matrix& matrix);
    
    virtual ~LeastSquares();
    
    virtual int solve(Matrix& rhs, Matrix& solution);
    
    virtual int solve(Matrix& rhs_in_out);

private:

};

#endif	/* LEASTSQUARES_H */