showQsprayXYZ {qspray} | R Documentation |
Print a polynomial
Description
Prints a polynomial by printing monomials like "x^2.yz"
.
Usage
showQsprayXYZ(letters = c("x", "y", "z"), collapse = ".", ...)
Arguments
letters , collapse |
see |
... |
arguments passed to |
Value
A function which prints a qspray
object. It is constructed
with showQspray
and showMonomialXYZ
.
Note
The function returned by this function can be used as the option
"showQspray"
in the showQsprayOption<-
function.
See Also
showMonomialXYZ
, showQspray
,
showQsprayOption<-
.
Examples
set.seed(3141)
( qspray <- rQspray() )
showQsprayXYZ(c("X", "Y", "Z"))(qspray)
showQsprayXYZ(c("X", "Y", "Z"))(qlone(1) + qlone(2) + qlone(3) + qlone(4))
# setting a show option:
showQsprayOption(qspray, "showQspray") <- showQsprayXYZ(c("A", "B", "C"))
qspray
# this is equivalent to:
showQsprayOption(qspray, "showMonomial") <- showMonomialXYZ(c("A", "B", "C"))
[Package qspray version 3.1.0 Index]