lhs
left-hand side of an expression
rhs
right-hand side of an expression
Calling Sequence
Parameters
Description
Thread Safety
Examples
lhs(expr)
rhs(expr)
expr
-
equation, inequality, relation, range, or type test/declaration
lhs(expr) returns the left-hand side of expr, which is equivalent to op⁡1,expr.
rhs(expr) returns the right-hand side of expr, which is equivalent to op⁡2,expr.
The lhs and rhs commands are thread-safe as of Maple 15.
For more information on thread safety, see index/threadsafe.
e≔y=a⁢x2+b
lhs⁡e
y
rhs⁡e
a⁢x2+b
r≔2..5
lhs⁡r
2
rhs⁡r
5
t≔a::integer
t≔a::ℤ
lhs⁡t
a
rhs⁡t
integer
h≔w+z<6
lhs⁡h
w+z
rhs⁡h
6
f≔y=x2+2⁢x+1
solve⁡f=0,x
Error, invalid input: solve expects its 1st argument, eqs, to be of type {`and`, `not`, `or`, rtable, algebraic, relation(algebraic), relation({rtable, algebraic}), {list, set}({`and`, `not`, `or`, algebraic, relation(algebraic)})}, but received (y = x^2+2*x+1) = 0
solve⁡rhs⁡f=0,x
−1,−1
See Also
::
equation
op
range
relation
Download Help Document