SparseDistmat-class: Sparse distance matrix

SparseDistmat-classR Documentation

Sparse distance matrix

Description

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.

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


asardaes/dtwclust documentation built on March 3, 2023, 5:32 a.m.