Learn R Programming

spacesRGB (version 1.5-0)

inverse: 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 TransferFunction
inverse( TF )

# S3 method for TransferFunction ^( TF, n )

# S3 method for TransferFunction is.invertible( TF )

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.

Arguments

TF

a TransferFunction object

n

an integer exponent; valid values are -1, 0, and 1

See Also

identity.TF