stripvar {Ryacas0}R Documentation

Removes part of expression containing variable

Description

Yacas' Solve(eq, x) can return e.g. x == expr and ⁠{x == expr1, x == expr2, ...}⁠. Some usages are easier if the initial ⁠x == ⁠ part is removed. This is the purpose of this function.

Usage

stripvar(expr, var)

Arguments

expr

Expression where x == expr should be replaced to expr

var

Name of variable, e.g. x

Value

Expression with left-hand side removed


[Package Ryacas0 version 0.4.4 Index]