Utility functions

CriticalTransitions.intervals_to_boxFunction
intervals_to_box(bmin::Vector, bmax::Vector) -> Any

Generates a box from specifying the interval limits in each dimension.

  • bmin (Vector): lower limit of the box in each dimension
  • bmax (Vector): upper limit

Example

intervals_to_box([-2,-1,0], [2,1,1]) returns a 3D box of dimensions [-2,2] × [-1,1] × [0,1].

source