Learn R Programming

polyMatrix (version 0.9.16)

t,polyMatrix-method: Polynomial matrix transpose

Description

Given a polyMatrix, t returns the transpose of x

Usage

# S4 method for polyMatrix
t(x)

Arguments

x

a polyMatrix

See Also

base::t() for numerical matrix tranpose

Examples

Run this code
# NOT RUN {
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
# }

Run the code above in your browser using DataLab