Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

pMsgn

Change the sign of a polynomial matrix object


Description

Multiplies the given polyMatrix by -1, and returns the -1 times the given polynomial matrix.

Usage

pMsgn(pm)

Arguments

pm

a polynomial matrix object

Value

The polynomial matrix for which the pm+pMsgn(pm) equals a zero polynomial matrix.

See Also

Examples

A <- polyMgen.a()
A
class(A) # "polyMarray" "polyMatrix"

A - polyMconvert(A,"polyMbroad")
A - polyMconvert(A,"polyMcells")
A - polyMconvert(A,"polyMdlist")

A + pMsgn(polyMconvert(A,"polyMbroad"))
A + pMsgn(polyMconvert(A,"polyMcells"))
A + pMsgn(polyMconvert(A,"polyMdlist"))

# clean up
# rm(A)

polyMatrix

Infrastructure for Manipulation Polynomial Matrices

v0.3.1
MIT + file LICENSE
Authors
Tamas Prohle [aut], Peter Prohle [aut], Nikolai Ryzhkov [aut, cre], Ildiko Laszlo [aut] (<https://orcid.org/0000-0003-2324-8183>), Ulas Onat Alakent [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.