-
Notifications
You must be signed in to change notification settings - Fork 3
/
main.cpp
49 lines (38 loc) · 1.03 KB
/
main.cpp
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
37
38
39
40
41
42
43
44
45
46
47
48
49
#include <chrono>
#include "shaman/Shaman.h"
// tests
#include "tests/test_eft.h"
#include "tests/test_loop.h"
// examples
#include "examples/various.h"
#include "examples/legendre.h"
#include "examples/schrodinger/schrodinger.h"
#include "examples/sqrtHeron.h"
//---------------------------------------------------------------------------------------
// MAIN
int main()
{
auto begin = std::chrono::steady_clock::now();
// TESTS
test_operator_sum();
//test_eft();
//test_loop();
// EXAMPLES
//sqrtHeron();
// various examples
//rumpTest();
//polynomialTest();
//fixedPointTest();
//kahanIdentity();
//mullerTest();
// legendre
//legendre20Test();
// Schrodinger equation
//Schrodinger numerov = Schrodinger();
//numerov.calculate();
// displays computation time
auto end = std::chrono::steady_clock::now();
auto elapsedSec = std::chrono::duration<double>(end - begin).count();
std::cout << "Time elapsed = " << elapsedSec << 's' << std::endl;
return 0;
}