Learn R Programming

polyMatrix (version 0.3.1)

proper: The polynomial matrix is column//row proper or not

Description

The program returns a logical value, whether the given polynomial matrix is column or row proper or both. A ‘proper’ matrix called in other way column or row ‘reduced’.

Usage

proper(pm,type=c("col","row","both"),print=c(TRUE,FALSE))

Arguments

pm

a polyMatrix class polynomial matrix

type

the type of rating row//col//both

print

the kind of printing

Value

Logical: TRUE or FALSE. The associated matrix is only an optional part of the output, and the print.

Details

The program calculates first the column or row associated matrices, and the answer depends on there ranks. A polynomial matrix is ‘proper’ if the associeted matrix has a full rank. The program has an invisible silent output.

See Also

coefs, lead

Examples

Run this code
# NOT RUN {
pm <- polyMgen.d(2,2,rawData=ch2pn(c("-1+7*x","x","3-x+x^2","-1+x^2-3*x^3")))
pm
proper(pm) # the default is the col-property labeling
(proper(pm,print=FALSE)) # the invisible output, without printing
proper(pm,"col")
proper(pm,"row")
proper(pm,"both")

# clean up
# rm(pm)
# }

Run the code above in your browser using DataLab