FUNCTION: wp - test a unit form for weak positivity

CALLING SEQUENCE:
wp(q)
wp(q,rt)
wp(q,rt,r)

PARAMETERS:
q - a unit form
rt - an optional parameter evaluating to a name
r - an optional parameter evaluating to 'a' or 'A'

SYNOPSIS:

EXAMPLES:

> a:=[4,[[1,2,3,4]]];

[Maple Math]

> q:=titsform(a);

[Maple Math]

> wp(q);

[Maple Math]

> wp(q,'rt');

[Maple Math]

> print(rt);

[Maple Math]
[Maple Math]
[Maple Math]
[Maple Math]

> wp(q,'rt','a');

[Maple Math]

> print(rt);

[Maple Math]
[Maple Math]
[Maple Math]
[Maple Math]
[Maple Math]
[Maple Math]
[Maple Math]
[Maple Math]
[Maple Math]
[Maple Math]
[Maple Math]
[Maple Math]
[Maple Math]
[Maple Math]

> wp(q,'rt','A');

[Maple Math]

> print(rt);

[Maple Math]
[Maple Math]
[Maple Math]
[Maple Math]

SEE ALSO: weakly_positive, wnn

BACK TO: start page of the crep online manual, crep