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

pn2ch

Converts a polynom class object to a character class object


Description

Takes a polynom class object and returns a character class object looks like the print image of the polynom object.

Usage

pn2ch(x, symb = "x", digits = getOption("digits"), decreasing = FALSE, ...)

Arguments

x

the given polynom class object

symb

the symbol of polynom

digits

the number of significant digits to be printed

decreasing

the desired order of the terms of the polynomial

...

additional arguments

Details

A technical subrutin to convert a polynom object to a character object.

Value

A character class object.

See Also

Examples

p <- polynom::polynomial(0:12)
pn2ch(p)

p <- polynom::polynomial(12:0)
pn2ch(p)

# clean up
# rm(p)

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.