Documentation
¶
Overview ¶
Package hyperrectangle defines an N-dimensional box embedded in N-dimensional ambient space.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Contains ¶ added in v0.13.0
Contains checks if the input rectangle r fully encloses s. r is a closed interval.
func SA ¶ added in v0.11.0
SA returns the "surface area" of an N-dimensional interval. For N = 2, this is the perimeter, and for N = 3, this is the total surface area of the rectangular prism.
See https://math.stackexchange.com/a/1898563 for the full method.
Types ¶
type M ¶ added in v0.13.0
type M R
Click to show internal directories.
Click to hide internal directories.