region
Stable type · Streaming writer
Tier: stable · Kind: type · Topic: Streaming writer
| Python | Julia | Rust |
|---|---|---|
| not exported | not exported | Region |
Python
Python does not export this type.
Julia
Julia does not export this type.
Rust
pub struct Region(pub Vec<(String, Range<usize>)>);
impl Region { pub fn whole() -> Self }
impl Region { pub fn new<I, D>(dims: I) -> Self where I: IntoIterator<Item = (D, Range<usize>)>, D: Into<String> }
A block of the non-time dims, dim → start..stop (0-based, half-open). An
omitted dim means its full extent; the empty region is the whole array.