miscTF {spacesRGB}R Documentation

Miscellaneous TransferFunction Methods

Description

Miscellaneous TransferFunction methods

Usage

## S3 method for class 'TransferFunction'
dimension( TF )

## S3 method for class 'TransferFunction'
domain( TF )

## S3 method for class 'TransferFunction'
orientation( TF )

Arguments

TF

a TransferFunction object

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.

See Also

TransferFunction identity.TF

Examples

TF = affine.TF( 1, 108 )

dimension(TF)					# 1

orientation(TF)					# 107

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

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

[Package spacesRGB version 1.5-0 Index]