stripvar: Removes part of expression containing variable

View source: R/Expr.R

stripvarR 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


Ryacas0 documentation built on Sept. 9, 2025, 5:55 p.m.