codegen: Code Generation

View source: R/codegen.R

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.


symengine documentation built on Oct. 23, 2022, 5:06 p.m.