Eval: Evaluate a yacas expression.

Description Usage Arguments Examples

View source: R/yacas.R

Description

Evaluate a yacas expression.

Usage

1
2
3
4
## S3 method for class 'yacas'
Eval(x, env = parent.frame(), ...)
## S3 method for class 'Sym'
Eval(x, env = parent.frame(), ...)

Arguments

x

Object to be evaluated.

env

Environment or list in which to perform evaluation.

...

Not currently used.

Examples

1
2
3
4
5
Eval(yacas(expression(x*x)), list(x=2))

# same
x <- 2
Eval(yacas(expression(x*x)))

Ryacas documentation built on Sept. 29, 2018, 5:04 p.m.