-
Notifications
You must be signed in to change notification settings - Fork 3
/
maintauintsimple.cpp
41 lines (35 loc) · 1.04 KB
/
maintauintsimple.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
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. See the enclosed file LICENSE for a copy or if
* that was not distributed with this file, You can obtain one at
* http://mozilla.org/MPL/2.0/.
*
* Copyright 2017 Max H. Gerlach
*
* */
#if defined (MAX_DEBUG) && ! defined(DUMA_NO_DUMA)
#include "dumapp.h"
#endif
/*
* maintauintsimple.cpp
*
* Created on: Apr 19, 2013
* Author: gerlach
*/
#include <string>
#include <iostream>
#include "statistics.h"
#include "dataseriesloader.h"
int main(int argc, char** argv) {
using namespace std;
std::cout << argc << endl;
for (int c = 1; c < argc; ++c) {
string filename{argv[c]};
DoubleSeriesLoader loader;
loader.readFromFile(filename);
cout << filename << endl;
cout << " samples: " << loader.getData(0)->size() << endl;
cout << " tauint: " << tauint(*(loader.getData(0))) << endl;
cout << " tauint-adaptive: " << tauint_adaptive(*(loader.getData(0))) << endl;
}
return 0;
}