package
Version:
v0.0.0-...-70830f8
Opens a new window with list of versions in this module.
Published: Apr 19, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 4
Opens a new window with list of known importers.
Documentation
¶
Package kdrange contains k-dimensional range struct and helpers.
Range represents a range in k-dimensional space.
New creates a new Range.
It accepts a sequence of min/max pairs that define the Range.
For example a 2-dimensional rectangle with the with 2 and height 3, starting at (1,2):
r := NewRange(1, 3, 2, 5)
I.e.:
x (dim 0): 1 <= x <= 3
y (dim 1): 2 <= y <= 5
Source Files
¶
Click to show internal directories.
Click to hide internal directories.