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 op1,expr.
rhs(expr) returns the right-hand side of expr, which is equivalent to op2,expr.
The lhs and rhs commands are thread-safe as of Maple 15.
For more information on thread safety, see index/threadsafe.
e≔y=ax2+b
lhse
y
rhse
ax2+b
r≔2..5
lhsr
2
rhsr
5
t≔a::integer
t≔a::ℤ
lhst
a
rhst
integer
h≔w+z<6
lhsh
w+z
rhsh
6
f≔y=x2+2x+1
solvef=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
solverhsf=0,x
−1,−1
See Also
::
equation
op
range
relation
Download Help Document