Abstract base class defining the interface for storage backends.
All backend implementations must inherit from this class and implement
the required methods.
Details
This class provides a common interface for different storage strategies:
Methods
Method get_matrix()
Get a specific matrix by index
Usage
DataBackend$get_matrix(i)
Arguments
i
Integer index of the matrix to retrieve
Returns
A dppMatrix object
Method get_all_matrices()
Get all matrices
Usage
DataBackend$get_all_matrices()
Returns
A list of dppMatrix objects
Get the number of matrices
Returns
Integer count of matrices
Method get_dimensions()
Get matrix dimensions
Usage
DataBackend$get_dimensions()
Returns
Integer dimension (p) where matrices are p x p
Method clone()
The objects of this class are cloneable with this method.
Usage
DataBackend$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.