Expand description
This crate contains algorithms to decompose spatial sets into smaller subdomains.
To this date, only 1D
and 2D
algorithms are implemented.
§Overview
Structs§
- Cuboid
- Generalized cuboid in
D
dimensions
Enums§
- Error
- Error variants of decomposition or digitization
Functions§
- kmr_
decompose - Partitions a rectangle into multiple smaller rectangles
- kmr_
digitize_ 1 - Assign given digits to a number of subdomains generated by the kmr_decompose method.
- kmr_
digitize_ 1_ single - Assigns an index to a given subspace.
Type Aliases§
- Decomposed
Domain - Returned from decomposition methods.
- Line
1D
variant of the Cuboid- Rectangle
2D
variant of the Cuboid- Result
- Sorted
Digits - Returned from digitization methods