Expand description
momtrop is a flexible Rust library for tropical Feynman sampling of loop integrals in momentum space (https://arxiv.org/abs/2504.09613).
It allows users to define graphs with arbitrary edge weights, dimensions, and external kinematics,
and supports custom floating-point types via the MomtropFloat trait.
The library only takes care of sample generation, and defers the evaluation of the integrand to the user.
Modules§
Structs§
- Edge
- Edge struct from which a graph can be specified.
- Graph
- Main graph struct from which a sampler can be build. This graph should be stripped of
tree-like and external edges.
Vertices which would have external edges attached to them must be added to the
externalsfield. - Metadata
- Optional metadata for advanced users, see \citation for the definition of the fields in this struct.
- Sample
Generator - Sampler struct from which sample points can be generated.
- Tropical
Sample Result - Return type of the sample function
- Tropical
Sampling Settings - Struct containing all runtime settings.
Constants§
- MAX_
EDGES - Maximum number of edges supported by momtrop.
- MAX_
VERTICES - Maximum number of vertices supported by momtrop.