dimension() returns a positive integer - the dimension of the domain and range of TF.
If TF is a universal identity, it returns NA.
domain() returns a 2xN matrix with the domain box of TF,
where N is dimension(TF).
If TF is a universal identity, it returns NA.
orientation() returns a real number.
If the value is positive it means that TF preserves orientation.
If the value is negative it means that TF reverses orientation.
When dimension(TF)=1, this simply corresponds to
the function being monotone increasing or decreasing, respectively.
In case of ERROR, the function returns NA.