Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new class of PL vectorizations #1

Open
corybrunson opened this issue Jan 29, 2024 · 1 comment
Open

new class of PL vectorizations #1

corybrunson opened this issue Jan 29, 2024 · 1 comment

Comments

@corybrunson
Copy link
Owner

corybrunson commented Jan 29, 2024

As in Peter Bubenik's lab worksheets, discrete PLs with common and constant support can be encoded as (sparse) matrices, especially for linear-algebraic uses. Since the functions pl_vectorize() and pl_devectorize() already rely on vector/matrix attributes, it would be a small leap to have them convert between class 'Rcpp_PersistenceLandscape' and a new class of (sparse) matrices of vectorized landscapes.

If this class is used, then either (a) most other pl_*() will need to be adapted to handle this class, (b) a parallel set of pv_*() functions will need to be written, or (c) the low-level pl_*() functions will need to be rewritten to use method dispatch.

@corybrunson
Copy link
Owner Author

Discussion with colleagues leads me to think that these vectorizations (and matrices of them) can be left unclassed. But there perhaps should be an option to store them as sparse matrices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant