Learn R Programming

jack (version 3.0.0)

prettyForm: Pretty exact expression

Description

Pretty form of the exact expression of a polynomial.

Usage

prettyForm(poly, asCharacter = FALSE)

Value

A character string if asCharacter=TRUE, otherwise it is also returned but invisibly, and it is printed in the console.

Arguments

poly

an exactmvp object, that is, a polynomial with an exact expression

asCharacter

Boolean, whether to return a character string; if FALSE, the pretty form is printed

Examples

Run this code
library(jack)
if(JuliaConnectoR::juliaSetupOk()){
  julia <- Jack_julia()
  ( pol <- julia$ZonalPol(m = 2, lambda = c(3, 1)) )
  prettyForm(pol)
  JuliaConnectoR::stopJulia()
}

Run the code above in your browser using DataLab