Gyselalib++
 
Loading...
Searching...
No Matches
matrix_dense.hpp
1#ifndef MATRIX_DENSE_H
2#define MATRIX_DENSE_H
3#include <memory>
4
5#include "sll/matrix.hpp"
6
7class Matrix_Dense : public Matrix
8{
9public:
10 Matrix_Dense(int);
11 virtual double get_element(int i, int j) const override;
12 virtual void set_element(int i, int j, double aij) override;
13
14private:
15 virtual int factorize_method() override;
16 virtual int solve_inplace_method(double* b, char transpose, int n_equations) const override;
17 std::unique_ptr<int[]> ipiv;
18 std::unique_ptr<double[]> a;
19};
20
21#endif // MATRIX_DENSE_H
Definition matrix_dense.hpp:8
Definition matrix.hpp:9