Skip to content

Suggestions for storing distance matrices #15

@talegari

Description

@talegari

Hi,

I am trying to implement a out-of-memory storage for distances matrices where I need to store the lower diagonal entries only. lvec seems like a natural fit over bigmemory family of packages where its require to store the whole matrix (practically repeating everything twice and the diagonal).

I have a few questions which might help my design decisions:

  • Can I use Rcpp to talk to lvec vectors?
  • Is it possible to modify c++ functions from proxy or parallelDist packages to write to lvec vectors directly without bringing them into R?
  • Would it be efficient to implement matrix like apply functions on lvec using C++ functions without bringing each row or column into R?

Regards,
Srikanth KS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions