mat_simplify: Simplify with Mathematica

View source: R/simplify.R

mat_simplifyR Documentation

Simplify with Mathematica

Description

Escapes _ and puts everything into yacas/Mathematica for simplification

Usage

mat_simplify(string)

mat_denom(string)

mat_numer(string)

mat_replace(string, replacements)

Arguments

string

named vector with equations, not too complicated please. # [] For Mathematica, replacements of sin(x) -> Sin[x] still need to be done

FLAGsimplify

call yacas::Simplify or rely solely on the conversion string -> yacas -> string for the simplification

FLAGverbose

print input

Details

yac_simplify (currently disabled) needs yacas and Ryacas installed. mat_simplify needs wolframscript and Matrhematica installed

Value

named vector with simplified equations


dlill/conveniencefunctions documentation built on Sept. 30, 2022, 4:40 a.m.