TTK
Loading...
Searching...
No Matches
ripser Namespace Reference

Typedefs

using value_t = double
 
using index_t = int64_t
 
using coefficient_t = uint16_t
 

Functions

template<typename PersistenceType>
void ripser (std::vector< std::vector< value_t > > points, PersistenceType &ph, value_t threshold, index_t dim_max, bool distanceMatrix, bool criticalEdgesOnly=true, bool infinitePairs=true, coefficient_t modulus=2)
 
template<typename PersistenceType>
void ripser (float *data, int n, int dim, PersistenceType &ph, value_t threshold, index_t dim_max, bool criticalEdgesOnly=true, bool infinitePairs=true, coefficient_t modulus=2)
 

Detailed Description

Typedef Documentation

◆ coefficient_t

using ripser::coefficient_t = uint16_t

Definition at line 18 of file ripser.h.

◆ index_t

using ripser::index_t = int64_t

Definition at line 16 of file ripser.h.

◆ value_t

using ripser::value_t = double

Definition at line 11 of file ripser.h.

Function Documentation

◆ ripser() [1/2]

template<typename PersistenceType>
void ripser::ripser ( float * data,
int n,
int dim,
PersistenceType & ph,
value_t threshold,
index_t dim_max,
bool criticalEdgesOnly = true,
bool infinitePairs = true,
coefficient_t modulus = 2 )

Definition at line 31 of file ripser.h.

◆ ripser() [2/2]

template<typename PersistenceType>
void ripser::ripser ( std::vector< std::vector< value_t > > points,
PersistenceType & ph,
value_t threshold,
index_t dim_max,
bool distanceMatrix,
bool criticalEdgesOnly = true,
bool infinitePairs = true,
coefficient_t modulus = 2 )

Definition at line 1136 of file ripser.cpp.