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
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.initialize(..., distmat, series, distance, control, error.check = TRUE)
: Initialization based on needed parameters