Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pthariensflame/cayleymengerdeterminant.jl
Calculate the measures of simplices through the Cayley-Menger determinant.
https://github.com/pthariensflame/cayleymengerdeterminant.jl
geometry julia
Last synced: 27 days ago
JSON representation
Calculate the measures of simplices through the Cayley-Menger determinant.
- Host: GitHub
- URL: https://github.com/pthariensflame/cayleymengerdeterminant.jl
- Owner: pthariensflame
- License: mit
- Created: 2022-03-10T03:39:09.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-18T15:28:58.000Z (almost 2 years ago)
- Last Synced: 2024-10-08T23:02:47.905Z (about 1 month ago)
- Topics: geometry, julia
- Language: Julia
- Homepage:
- Size: 33.2 KB
- Stars: 4
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CayleyMengerDeterminant
Calculate the Cayley-Menger squared-distance matrix of an `N`-simplex from its points, and use the matrix’s determinant to compute the (interior) measure of the simplex—for example, the area of a triangle, or the volume of a tetrahedron.
This package exports two small utility functions, `binomial2` and `inverse_binomial2`, as well as the full-featured immutable structured matrix type `CayleyMengerDistanceMatrix` and its constructors, and the function `simplex_volume` for calculating the measure directly from the points.