prettyQspray {qspray} | R Documentation |
Pretty polynomial
Description
Pretty form of a qspray
polynomial.
Usage
prettyQspray(qspray, vars = NULL)
Arguments
qspray |
a |
vars |
variable names; |
Value
A character string.
Examples
library(qspray)
P <- (qlone(1) + "1/2"*qlone(2))^2 + 5
prettyP <- prettyQspray(P, vars = c("x", "y"))
prettyP
cat(Ryacas::yac_str(sprintf("PrettyForm(%s)", prettyP)))
Ryacas::yac_str(sprintf("TeXForm(%s)", prettyP))
[Package qspray version 3.1.0 Index]