Learn R Programming

Ryacas0 (version 0.4.4)

as.Sym.matrix: Convert character matrix to yacas object

Description

Simple and raw conversion to yacas

Usage

# S3 method for matrix
as.Sym(x, ...)

Arguments

x

An R character matrix.

...

Not used

Examples

Run this code
x <- matrix(c("a", "2", "4", "c", "d", "6"), 3, 2)
x
y <- as.Sym(x)
y
Eval(y, list(a = 3, c = 3, d = 3))

Run the code above in your browser using DataLab