| Crates.io | cova-space |
| lib.rs | cova-space |
| version | 0.2.0 |
| created_at | 2025-05-23 20:35:31.798122+00 |
| updated_at | 2025-05-25 16:30:13.820729+00 |
| description | Cova's geometric and topological library |
| homepage | |
| repository | https://github.com/harnesslabs/cova |
| max_upload_size | |
| id | 1686687 |
| size | 255,159 |
A comprehensive Rust library for computational topology and geometric analysis, providing rigorous implementations of topological spaces, simplicial complexes, homology computation, and topological data analysis.
Cova Space implements fundamental structures and algorithms from computational topology with a focus on mathematical rigor, type safety, and performance. The crate provides a comprehensive toolkit for topological computation, from basic set operations to advanced persistent homology and sheaf-theoretic constructions.
The library is organized around core topological concepts, building from foundational structures to sophisticated computational tools:
setFoundation layer providing collection abstractions and partially ordered sets (posets). Implements basic set operations, ordering relationships, and the mathematical framework for more complex topological structures.
definitionsFundamental trait hierarchy for mathematical spaces including topological spaces, metric spaces, normed spaces, and inner product spaces. Establishes the interface for geometric and topological operations with proper mathematical abstractions.
complexesComprehensive implementation of cell complexes including simplicial and cubical complexes. Provides generic complex containers, automatic face relation management, and efficient storage with ID-based lattice structures for computational topology applications.
Submodules:
simplicial: Simplex definitions and simplicial complex operationscubical: Cube definitions and cubical complex operationsgraphFlexible graph data structures supporting both directed and undirected graphs with comprehensive operations for vertices, edges, and topological relationships. Designed for integration with complex and homological computations.
homologyComplete homology computation framework including chain complexes, boundary operators, and Betti number calculations. Implements formal chains with ring coefficients and supports homology computation over arbitrary fields for topological analysis.
sheafAdvanced sheaf theory implementations providing categorical constructions over topological spaces. Includes restriction morphisms, global section verification, and coboundary operators for sophisticated topological data analysis.
filtrationFiltration frameworks for persistent homology including Vietoris-Rips constructions. Supports both serial and parallel computation of filtered complexes for analyzing multi-scale topological features in data.
cloudPoint cloud analysis tools designed for topological data analysis applications. Provides the foundation for building filtered complexes from geometric data sets.
latticeSophisticated lattice structures for efficient representation of partial orders and face relationships in complexes. Implements join/meet operations and provides the computational backbone for complex operations.
Add to your Cargo.toml:
[dependencies]
cova-space = "*"
The crate provides a comprehensive prelude for convenient importing:
use cova_space::prelude::*;
parallel: Enables parallel computation for filtrations and large-scale operations using RayonThe library covers essential areas of computational topology:
Set Theory & Posets
├── Topological Spaces (metric, normed, inner product)
├── Cell Complexes (simplicial, cubical, general)
├── Homological Algebra (chains, boundaries, homology)
├── Sheaf Theory (categorical constructions)
└── Topological Data Analysis (filtrations, persistence)
Complete API documentation is available on docs.rs.
Contributions are welcome! Please ensure mathematical correctness and include appropriate documentation for topological algorithms and data structures.
This project is licensed under the AGPLv3 License - see the LICENSE file for details.