The domain defaults to unbounded if bounds
is None
,
If T
is float, nan
defaults to true
.
Usage
atom_domain(bounds = NULL, nan = NULL, .T = NULL)
Arguments
- bounds
Optional bounds of elements in the domain, if the data type is numeric.
- nan
Whether the domain may contain NaN, if the data type is float.
- .T
The type of the atom.
Examples
atom_domain(.T = "i32")
#> Error in .Call("domains__atom_domain", bounds, nan, .T, rt_parse(.T.bounds), rt_parse(.T.nan), log_, PACKAGE = "opendp"): "domains__atom_domain" not available for .Call() for package "opendp"