showMonomialOld: Print a monomial

View source: R/show.R

showMonomialOldR Documentation

Print a monomial

Description

Prints a monomial like "x^(1, 0, 2)". This way of showing a monomial was used by default in previous versions of this package.

Usage

showMonomialOld(x = "x")

Arguments

x

a string, usually a letter such as "x" or "X", to denote the variable

Value

A function which takes as argument a sequence of exponents and which prints the corresponding monomial.

See Also

showMonomialX1X2X3, showMonomialXYZ, showQspray, showQsprayOption<-.

Examples

showMonomialOld("X")(c(1, 0, 2))
showMonomialOld("X")(NULL)

qspray documentation built on Sept. 11, 2024, 5:33 p.m.