Skip to content

Instantly share code, notes, and snippets.

View VincentRouvreau's full-sized avatar

Vincent Rouvreau VincentRouvreau

View GitHub Profile
@VincentRouvreau
VincentRouvreau / periodic_alpha_complex_3d.cpp
Created October 5, 2018 13:38
gist_for_cgal_issue_3346
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Periodic_3_Delaunay_triangulation_traits_3.h>
#include <CGAL/Periodic_3_Delaunay_triangulation_3.h>
#include <CGAL/Alpha_shape_3.h>
#include <CGAL/Alpha_shape_cell_base_3.h>
#include <CGAL/Alpha_shape_vertex_base_3.h>
#include <CGAL/iterator.h>
#include <CGAL/Random.h>
#include <CGAL/point_generators_3.h>
@VincentRouvreau
VincentRouvreau / gist:4d3f7951fafd4847cd62443a084070e5
Created March 19, 2019 08:02
sparse_rips_distance_matrix_persistence.cpp
/* This file is part of the Gudhi Library. The Gudhi library
* (Geometric Understanding in Higher Dimensions) is a generic C++
* library for computational topology.
*
* Author(s): Marc Glisse, Clément Maria
*
* Modification(s):
* VR - March 2019: Use distance matrix constructor for Sparse rips
*
* Copyright (C) 2018 Inria
@VincentRouvreau
VincentRouvreau / Exact_alpha_complex_persistence.cpp
Created October 28, 2019 17:03
AlphaComplex or SimplexTree numeric issues #107 investigation
/* This file is part of the Gudhi Library - https://gudhi.inria.fr/ - which is released under MIT.
* See file LICENSE or go to https://gudhi.inria.fr/licensing/ for full license details.
* Author(s): Vincent Rouvreau
*
* Copyright (C) 2016 Inria
*
* Modification(s):
* - YYYY/MM Author: Description of the modification
*/
#include <gudhi/Alpha_complex.h>
// to construct a simplex_tree from alpha complex
#include <gudhi/Simplex_tree.h>
#include <CGAL/Epeck_d.h>
#include <iostream>
#include <vector>
// Explicit dimension 2 Epeck_d kernel
@VincentRouvreau
VincentRouvreau / sphinx.log
Created April 20, 2020 20:23
make sphinx
[100%] Generating API documentation with Sphinx in /gudhi-devel/build/version/build/python/sphinx/
Running Sphinx v2.3.0
making output directory... done
WARNING: html_static_path entry '_static' does not exist
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 32 source files that are out of date
updating environment: [new config] 32 added, 0 changed, 0 removed
checking for /gudhi-devel/build/version/biblio/how_to_cite_cgal.bib in bibtex cache... not found
parsing bibtex file /gudhi-devel/build/version/biblio/how_to_cite_cgal.bib... parsed 106 entries
checking for /gudhi-devel/build/version/biblio/bibliography.bib in bibtex cache... not found
2020-06-01T14:05:44.7641161Z ##[section]Starting: Request a runner to run this job
2020-06-01T14:05:45.0444881Z Can't find any online and idle self-hosted runner in current repository that matches the required labels: 'ubuntu-latest'
2020-06-01T14:05:45.0444912Z Can't find any online and idle self-hosted runner in current repository's account/organization that matches the required labels: 'ubuntu-latest'
2020-06-01T14:05:45.0444931Z Found online and idle hosted runner in current repository's account/organization that matches the required labels: 'ubuntu-latest'
2020-06-01T14:05:45.2334678Z ##[section]Finishing: Request a runner to run this job
2020-06-01T14:05:54.7461447Z Current runner version: '2.263.0'
2020-06-01T14:05:54.7487202Z ##[group]Operating System
2020-06-01T14:05:54.7487823Z Ubuntu
2020-06-01T14:05:54.7488053Z 18.04.4
2020-06-01T14:05:54.7488219Z LTS
FROM ubuntu:20.04
# Update and upgrade distribution
RUN apt-get update && \
apt-get upgrade -y
# Tools necessary for installing and configuring Ubuntu
RUN apt-get install -y \
apt-utils \
locales \
/* This file is part of the Gudhi Library - https://gudhi.inria.fr/ - which is released under MIT.
* See file LICENSE or go to https://gudhi.inria.fr/licensing/ for full license details.
* Author(s): Vincent Rouvreau
*
* Copyright (C) 2020 Inria
*
* Modification(s):
* - YYYY/MM Author: Description of the modification
*/
/* Author(s): Vincent Rouvreau
*
* Copyright (C) 2021 Inria - MIT license
*
* Modification(s):
*/
#include <iostream>
#include <gudhi/Coxeter_triangulation.h>
/* Author(s): Vincent Rouvreau
*
* Copyright (C) 2021 Inria - MIT license
*
* Modification(s):
*/
#include <iostream>
#include <cmath> // for cos, sin