SparseDistmat-class function

Sparse distance matrix

Sparse distance matrix

Reference class that is used internally for PAM centroids when pam.precompute = FALSE and pam.sparse = TRUE. It allows for mutable state. It contains Distmat . class

Fields

  • distmat: The sparse matrix.
  • symmetric: Logical indicating if the matrix is symmetric.
  • distmat_indices: External pointer (C++ class) with the indices of existing values within the matrix, and the method to update them.

Methods

  • initialize(..., distmat, series, distance, control, error.check = TRUE): Initialization based on needed parameters
  • Maintainer: Alexis Sarda
  • License: GPL-3
  • Last published: 2024-07-23