Skip to content

iagoleal/Hodge.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hodge.jl

Documentation Build Status
Stable Docs Latest Docs Build Status Code Coverage

Library for manipulation of simplicial complexes and cochains defined over them.

The focus of this package is on the formalism of Discrete Exterior Calculus and its applications to statistical rankings and extraction of topological features from simplicial triangulations.

Installation

To install this package, all you have to do is to enter ] on the Julia REPL and write

pkg> add Hodge

Basic Usage

To use this package, one starts defining a simplicial complex

using Hodge
K = SimplicialComplex([(1,2,3), (1,2,4), [1], [1,5,9,6], (2,6)])

Then it is possible to retrieve topological information from the complex

euler_characteristic(K)
betti(K)

Or one can define Cochains over K, which are skew-symmetric tensors over the simplices of K, and work with them

f = Cochain{Float64, 2}(K)
f[1,2,3] = 3.0
f[1,2,4] = -5.9
f[4,3,2] = 13.2
f[1,4,3] = π

g = coboundary(f)
w = coboundary_adj(f)
h = laplacian(f)
c = cup(f, h)

a, b, c = hodge(f)

See the documentation for a more comprehensive explanation.

About

Model and represent Simplicial Complexes and their Cochains. Provides a clean interface to calculate Betti numbers and (discrete) Hodge decompositions.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages