codegenR Documentation

Code Generation

Description

Generate C/MathML/LaTeX/JavaScript code string from a Basic or VecBasic object.

Usage

codegen(x, type = c("ccode", "mathml", "latex", "jscode"))

Arguments

x

A Basic or a VecBasic object.

type

One of "ccode", "mathml", "latex" and "jscode".

Value

A character vector.