poi-class {rPorta}R Documentation

Class "poi"

Description

Encapsulates points in PORTA's poi format.

Objects from the Class

A poi object holds two slots.

Slots

num:
Matrix containing the numerators of the points
den:
Matrix containing the denominators of the points

Methods

as.matrix
Converts the values to a numeric matrix.
convertToString
Convert to character string in PORTA's format
getNumerator
Returns this objects numerator matrix
getDenominator
Returns this objects denominator matrix
index
May be used to obtain subsets of the object

Author(s)

Robin Nunkesser Robin.Nunkesser@tu-dortmund.de

See Also

"poiFile", "ieq", "ieqFile", as.poi

Examples

# Construct a 3-dimensional grid with values 0.0,0.2,...,1.0
parameterspaceNum<-matrix(nrow=216,ncol=3)
for (i in(0:215)) parameterspaceNum[i+1,]<-c(i%/%6^2,i%/%6%%6,i%%6)                    
parameterspace<-new("poi",num=parameterspaceNum,den=matrix(5,nrow=216,ncol=3))

[Package rPorta version 0.1-9 Index]