TTK
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
compressed_distance_matrix< Layout > Class Template Reference

Public Member Functions

 compressed_distance_matrix (std::vector< value_t > &&_distances)
 
template<typename DistanceMatrix >
 compressed_distance_matrix (const DistanceMatrix &mat)
 
value_t operator() (const index_t i, const index_t j) const
 
size_t size () const
 
void init_rows ()
 

Public Attributes

std::vector< value_tdistances
 
std::vector< value_t * > rows
 

Detailed Description

template<compressed_matrix_layout Layout>
class compressed_distance_matrix< Layout >

Definition at line 328 of file ripserpy.cpp.

Constructor & Destructor Documentation

◆ compressed_distance_matrix() [1/2]

template<compressed_matrix_layout Layout>
compressed_distance_matrix< Layout >::compressed_distance_matrix ( std::vector< value_t > &&  _distances)
inline

Definition at line 333 of file ripserpy.cpp.

◆ compressed_distance_matrix() [2/2]

template<compressed_matrix_layout Layout>
template<typename DistanceMatrix >
compressed_distance_matrix< Layout >::compressed_distance_matrix ( const DistanceMatrix &  mat)
inline

Definition at line 341 of file ripserpy.cpp.

Member Function Documentation

◆ init_rows()

void compressed_upper_distance_matrix::init_rows ( )

Definition at line 364 of file ripserpy.cpp.

◆ operator()()

value_t compressed_upper_distance_matrix::operator() ( const index_t  i,
const index_t  j 
) const

Definition at line 382 of file ripserpy.cpp.

◆ size()

template<compressed_matrix_layout Layout>
size_t compressed_distance_matrix< Layout >::size ( ) const
inline

Definition at line 352 of file ripserpy.cpp.

Member Data Documentation

◆ distances

template<compressed_matrix_layout Layout>
std::vector<value_t> compressed_distance_matrix< Layout >::distances

Definition at line 330 of file ripserpy.cpp.

◆ rows

template<compressed_matrix_layout Layout>
std::vector<value_t *> compressed_distance_matrix< Layout >::rows

Definition at line 331 of file ripserpy.cpp.


The documentation for this class was generated from the following file: