diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Persistent_cohomology/doc/Intro_persistent_cohomology.h | 16 | ||||
-rw-r--r-- | src/cython/doc/rips_complex_user.rst | 2 |
2 files changed, 10 insertions, 8 deletions
diff --git a/src/Persistent_cohomology/doc/Intro_persistent_cohomology.h b/src/Persistent_cohomology/doc/Intro_persistent_cohomology.h index 1fe048bc..ece5e6c3 100644 --- a/src/Persistent_cohomology/doc/Intro_persistent_cohomology.h +++ b/src/Persistent_cohomology/doc/Intro_persistent_cohomology.h @@ -160,18 +160,20 @@ persistence diagram with a family of field coefficients. \li <a href="_persistent_cohomology_2rips_distance_matrix_persistence_8cpp-example.html"> Persistent_cohomology/rips_distance_matrix_persistence.cpp</a> computes the Rips complex of a distance matrix and -outputs its persistence diagram. The file should contain lower diagonal distance matrix with semicolons as separators. +outputs its persistence diagram. + +The file should contain square or lower triangular distance matrix with semicolons as separators. The code do not check if it is dealing with a distance matrix. It is the user responsibility to provide a valid input. Please refer to data/distance_matrix/lower_triangular_distance_matrix.csv for an example of a file. \li <a href="_persistent_cohomology_2rips_correlation_matrix_persistence_8cpp-example.html"> Persistent_cohomology/rips_correlation_matrix_persistence.cpp</a> -computes the Rips complex of a correlation matrix and -outputs its persistence diagram. Note that no check is performed if -the matrix given as the input is a correlation matrix. -It is the user responsibility to ensure that this is the case. The -input is to be given either as a lower triangular matrix. -Please refer to data/distance_matrix/lower_triangular_correlation_matrix.csv for an example of a file. +computes the Rips complex of a correlation matrix and outputs its persistence diagram. + +Note that no check is performed if the matrix given as the input is a correlation matrix. +It is the user responsibility to ensure that this is the case. The input is to be given either as a square or a lower +triangular matrix. +Please refer to data/correlation_matrix/lower_triangular_correlation_matrix.csv for an example of a file. \li <a href="_persistent_cohomology_2alpha_complex_3d_persistence_8cpp-example.html"> Persistent_cohomology/alpha_complex_3d_persistence.cpp</a> computes the persistent homology with diff --git a/src/cython/doc/rips_complex_user.rst b/src/cython/doc/rips_complex_user.rst index f0e7bf2d..b80ff7fe 100644 --- a/src/cython/doc/rips_complex_user.rst +++ b/src/cython/doc/rips_complex_user.rst @@ -197,7 +197,7 @@ Example from csv file ^^^^^^^^^^^^^^^^^^^^^ This example builds the :doc:`Rips_complex <rips_complex_ref>` from the given -points in an OFF file, and max_edge_length value. +distance matrix in a csv file, and max_edge_length value. Then it creates a :doc:`Simplex_tree <simplex_tree_ref>` with it. Finally, it is asked to display information about the Rips complex. |