Description Usage Arguments Value Examples
Various functions to deal with mpoly and mpolyList objects.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | is.constant(x)
is.mpoly(x)
is.unipoly(x)
is.bernstein(x)
is.bezier(x)
is.chebyshev(x)
is.mpolyList(x)
is.linear(x)
|
x |
object to be tested |
Vector of logicals.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | p <- mp("5")
is.mpoly(p)
is.constant(p)
is.constant(mp(c("x + 1", "7", "y - 2")))
p <- mp("x + y")
is.mpoly(p)
is.mpolyList(mp(c("x + 1", "y - 1")))
is.linear(mp("0"))
is.linear(mp("x + 1"))
is.linear(mp("x + y"))
is.linear(mp(c("0", "x + y")))
is.linear(mp("x + x y"))
is.linear(mp(c("x + x y", "x")))
(p <- bernstein(2, 5))
is.mpoly(p)
is.bernstein(p)
(p <- chebyshev(5))
is.mpoly(p)
is.chebyshev(p)
str(p)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.