Box

Box Space

Members

Static functions

from
from(T info)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

high
double[] high;
Undocumented in source.
low
double[] low;
Undocumented in source.
shape
long[] shape;
Undocumented in source.

Examples

    static assert(isSpace!Box);

    auto s = `{
   "name": "Box",
   "shape": [2],
   "high": [1.0, 2.0],
   "low": [0.0, 0.0]
}`;
    auto j = s.parseJSON;
    assert(Box.from(j) == Box([2], [1.0, 2.0], [0.0, 0.0]));

Meta