t,polyMatrix-method {polyMatrix}R Documentation

Polynomial matrix transpose

Description

Given a polyMatrix, t returns the transpose of x

Usage

## S4 method for signature 'polyMatrix'
t(x)

Arguments

x

a polyMatrix

See Also

base::t() for numerical matrix tranpose

Examples

pm <- parse.polyMatrix("1, x, x^2",
                       "x, 1, x^3")
t(pm)
##        [,1]   [,2]
## [1,]      1      x
## [2,]      x      1
## [3,]    x^2    x^3

[Package polyMatrix version 0.9.16 Index]