decomposition
Stable type · Other
Tier: stable · Kind: type · Topic: Other
| Julia | TypeScript | Python | Rust | Go |
|---|---|---|---|---|
Decomposition | not exported | not exported | Decomposition | not exported |
Julia
struct Decomposition
Decomposition(axes::Vector{Pair{String, Union{Nothing, Int64}}}, faces::Vector{Pair{String, String}})
Decomposition(axes, faces)
Decomposition(; axes, faces)
Decomposition(; axes, faces = [])
A horizontal decomposition (API_SPEC §5.8): the index sets a tiling cuts, each
with its period (nothing when the axis is not periodic; otherwise the axis’s
global extent), and the face sets that stagger off a cut axis ("lon_nodes" => "lon"). Every other index set is whole on every tile.
dec = Decomposition(axes = ["lon" => (period = 144,), "lat" => (period = nothing,)],
faces = ["lon_nodes" => "lon"])
TypeScript
TypeScript does not export this type.
Python
Python does not export this type.
Rust
pub struct Decomposition {
pub axes: Vec<AxisCut>,
pub faces: Vec<(String, String)>,
}
The horizontal decomposition a tile cuts (RFC U3 §1): the decomposed index
sets and the face sets that stagger off them, (face set, cell set).
Every other index set is whole on every tile.
Go
Go does not export this type.