Skip to content

Commit

Permalink
add small vector column to matrix module
Browse files Browse the repository at this point in the history
  • Loading branch information
hschreiber committed Nov 8, 2024
1 parent 7d1df66 commit 865259d
Show file tree
Hide file tree
Showing 6 changed files with 130 additions and 104 deletions.
9 changes: 7 additions & 2 deletions src/Persistence_matrix/include/gudhi/Matrix.h
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,8 @@ class Matrix {
using Matrix_heap_column = Heap_column<Matrix<PersistenceMatrixOptions> >;
using Matrix_list_column = List_column<Matrix<PersistenceMatrixOptions> >;
using Matrix_vector_column = Vector_column<Matrix<PersistenceMatrixOptions> >;
using Matrix_naive_vector_column = Naive_vector_column<Matrix<PersistenceMatrixOptions> >;
using Matrix_naive_vector_column = STD_naive_vector_column<Matrix<PersistenceMatrixOptions> >;
using Matrix_small_vector_column = Small_naive_vector_column<Matrix<PersistenceMatrixOptions> >;
using Matrix_set_column = Set_column<Matrix<PersistenceMatrixOptions> >;
using Matrix_unordered_set_column = Unordered_set_column<Matrix<PersistenceMatrixOptions> >;
using Matrix_intrusive_list_column = Intrusive_list_column<Matrix<PersistenceMatrixOptions> >;
Expand Down Expand Up @@ -345,7 +346,11 @@ class Matrix {
typename std::conditional<
PersistenceMatrixOptions::column_type == Column_types::NAIVE_VECTOR,
Matrix_naive_vector_column,
Matrix_intrusive_set_column
typename std::conditional<
PersistenceMatrixOptions::column_type == Column_types::SMALL_VECTOR,
Matrix_small_vector_column,
Matrix_intrusive_set_column
>::type
>::type
>::type
>::type
Expand Down
Loading

0 comments on commit 865259d

Please sign in to comment.