| inverse {spacesRGB} | R Documentation |
The inverse of a TransferFunction Object
Description
The function inverse() returns a TransferFunction that is the inverse
of the argument (if the argument is invertible).
is.invertible() tests whether a TransferFunction object has an inverse.
Usage
## S3 method for class 'TransferFunction'
inverse( TF )
## S3 method for class 'TransferFunction'
TF ^ n
## S3 method for class 'TransferFunction'
is.invertible( TF )
Arguments
TF |
a |
n |
an integer exponent; valid values are -1, 0, and 1 |
Value
inverse() returns a TransferFunction object obtained by
swapping fun and funinv and
swapping domain and range.
The names of the elements composing TF are changed appropriately.
If TF is not invertible, it returns NULL.
If n=-1, TF^n returns inverse(TF).
If n=1, it returns TF.
If n=0, it returns the universal identity.TF.
For any other value of n it returns NULL.
is.invertible() returns TRUE or FALSE.
See Also
[Package spacesRGB version 1.5-0 Index]