R/codegen.R
codegen.Rd
Generate C/MathML/LaTeX/JavaScript code string from a Basic or VecBasic object.
Basic
VecBasic
codegen(x, type = c("ccode", "mathml", "latex", "jscode"))
A Basic or a VecBasic object.
One of "ccode", "mathml", "latex" and "jscode".
A character vector.