-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
36 lines (28 loc) · 762 Bytes
/
main.cpp
File metadata and controls
36 lines (28 loc) · 762 Bytes
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
30
31
32
33
34
35
36
#include <iostream>
#include "given.h"
#include "gauss.h"
#include "enter_data.h"
int main()
{
//---test examples------------------
//--------------------------------------------------
//unclear variables
double K = 4.399;
double A = 1;
double empty = 0;
std::cout << "Please, give us real Eps (>= 0), Kappa (real+i*real), positise integer N and test points number :\n";
Given given;
std::cin >> given;
Matrix matrix(given.GetSize());
for (auto& v : matrix)
{
v.resize(given.GetSize());
}
std::cout << " matrix was allocated\n";
for (int i = 0; i < given.GetTestPointsNum(); i++)
{
cmpx my_kappa(K * A, empty);
std::cout << "Det(" << K << ")\n";
}
return 0;
}