lhs - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


lhs

left-hand side of an expression

rhs

right-hand side of an expression

 

Calling Sequence

Parameters

Description

Thread Safety

Examples

Calling Sequence

lhs(expr)

rhs(expr)

Parameters

expr

-

equation, inequality, relation, range, or type test/declaration

Description

• 

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.

Thread Safety

• 

The lhs and rhs commands are thread-safe as of Maple 15.

• 

For more information on thread safety, see index/threadsafe.

Examples

ey=ax2+b

ey=ax2+b

(1)

lhse

y

(2)

rhse

ax2+b

(3)

r2..5

r2..5

(4)

lhsr

2

(5)

rhsr

5

(6)

ta::integer

ta::

(7)

lhst

a

(8)

rhst

integer

(9)

hw+z<6

hw+z<6

(10)

lhsh

w+z

(11)

rhsh

6

(12)

fy=x2+2x+1

fy=x2+2x+1

(13)

solvef=0&comma;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&comma;x

−1,−1

(14)

See Also

::

equation

op

range

relation