Learn R Programming

spacesRGB (version 1.5-0)

miscTF: Miscellaneous TransferFunction Methods

Description

Miscellaneous TransferFunction methods

Usage

# S3 method for TransferFunction
dimension( TF )

# S3 method for TransferFunction domain( TF )

# S3 method for TransferFunction orientation( TF )

Value

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.

Arguments

TF

a TransferFunction object

See Also

TransferFunction identity.TF

Examples

Run this code
TF = affine.TF( 1, 108 )

dimension(TF)					# 1

orientation(TF)					# 107

orientation( affine.TF( 100, 1 ) )		# -99

domain(TF)
##      AU
##  min  0
##  max  1

Run the code above in your browser using DataLab