Space

Share:

Description

nint_space defines an n-dimensional space as a list of dimensions. A space may consist of subspaces. A space without subspaces is called true subspace.

Usage

1

Arguments

...

dimensions each of which may be an actual dimension object or a list structure of dimension objects.

Details

If a space contains at least one list structure of dimension objects it consists of subspaces. Each subspace is then defined by a combination of dimension objects along the dimensions. See nint_expandSpace on how to expand a space to true subspaces.

Value

nint_space returns an object of class "nint_space". An object of class "nint_space" is an ordered list of dimension objects.

See Also

nint_scatDim, nint_gridDim, nint_intvDim, nint_funcDim, nint_integrate, nint_validateSpace, nint_expandSpace, fisherI

Examples

1
2
3
4
5
6
7
8
s = nint_space(nint_gridDim(seq(1, 3, 0.9)),
               nint_scatDim(seq(2, 5, 0.8)),
               nint_intvDim(-Inf, Inf),
               nint_funcDim(function(x) nint_intvDim(0, x[1])),
               list(nint_gridDim(c(0, 10)),
                    list(nint_intvDim(1, 7)))
               )
s