Learn R Programming

jack (version 2.0.0)

toLaTeX: Exact expression to LaTeX

Description

LaTeX form of the exact expression of a polynomial.

Usage

toLaTeX(poly, asCharacter = FALSE)

Arguments

poly

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

asCharacter

Boolean, whether to return a character string; if FALSE, the LaTeX code is printed

Value

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

Examples

Run this code
# NOT RUN {
library(jack)
# }
# NOT RUN {
if(JuliaConnectoR::juliaSetupOk()){
  julia <- Jack_julia()
  ( pol <- julia$ZonalQPol(m = 2, lambda = c(3, 2)) )
  toLaTeX(pol)
  JuliaConnectoR::stopJulia()
}
# }

Run the code above in your browser using DataLab