Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F77974785
GaussSeidel.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Aug 17, 14:43
Size
662 B
Mime Type
text/x-c++
Expires
Mon, Aug 19, 14:43 (2 d)
Engine
blob
Format
Raw Data
Handle
19959394
Attached To
R7934 PCSC_project
GaussSeidel.h
View Options
//
// Created by choitel on 12/3/18.
//
#ifndef PROJET_PCSC_GAUSSSEIDEL_H
#define PROJET_PCSC_GAUSSSEIDEL_H
#include "Matrix.hpp"
#include "Vector.hpp"
class
GaussSeidel
{
private:
GaussSeidel
();
Matrix
A
;
Vector
b
;
Vector
x_0
;
double
tol
;
public:
int
n_iter
;
GaussSeidel
(
const
GaussSeidel
&
otherGaussSeidel
);
GaussSeidel
(
Matrix
m_A
,
Vector
m_b
,
Vector
x_0
,
double
tol
);
GaussSeidel
(
Matrix
m_A
,
Vector
m_b
,
Vector
x_0
);
GaussSeidel
(
Matrix
m_A
,
Vector
m_b
);
GaussSeidel
(
Matrix
m_A
,
Vector
m_b
,
double
m_tol
);
Vector
Solve
();
};
//double* GaussSeidel(double A[5][5],double b[5]);
#endif
//PROJET_PCSC_GAUSSSEIDEL_H
Event Timeline
Log In to Comment