Sym: sympy variables

Description Usage Arguments Details Value See Also Examples

View source: R/Sym.R

Description

Create and manipulate sympy variables.

Usage

1
Sym(..., retclass = c("Sym", "character"))

Arguments

...

Variable name as a string by which sympy should identify this varible

retclass

Class of object to be returned.

Details

An object of class "Sym" is internally a sympy character string. One can combine such objects using the Math and Ops R operators (see help(Math) and help(Ops) for a list). Also the following are supported: as.character.Sym, as.expression.Sym, Ops.Sym, Math.Sym, print.Sym, deriv.Sym, Limit, Var.Sym, solve.Sym, Integrate, t.Sym, List, Matrix, Var, Zero, Zeros and Eye.

Value

As in retclass.

See Also

sympy

Examples

1
2
3
4
5
## Not run: 
x <- Var("x")
x+x

## End(Not run)

rSymPy documentation built on May 2, 2019, 6:01 a.m.

Related to Sym in rSymPy...