#include <gudhi/Persistence_vectors.h>
#include <iostream>
#include <vector>
#include <cmath>
#include <iomanip>
#include <limits>
#include <utility>
int main(int argc, char** argv) {
std::vector<std::pair<double, double> > persistence1;
std::vector<std::pair<double, double> > persistence2;
persistence1.push_back(std::make_pair(1, 2));
persistence1.push_back(std::make_pair(6, 8));
persistence1.push_back(std::make_pair(0, 4));
persistence1.push_back(std::make_pair(3, 8));
persistence2.push_back(std::make_pair(2, 9));
persistence2.push_back(std::make_pair(1, 6));
persistence2.push_back(std::make_pair(3, 5));
persistence2.push_back(std::make_pair(6, 10));
std::clog << "v1 : " << v1 << std::endl;
std::clog << "v2 : " << v2 << std::endl;
std::clog << "Average : " << average << std::endl;
std::clog <<
"l^1 distance : " << v1.
distance(v2) << std::endl;
v1.
plot(
"plot_of_vector_representation");
return 0;
}