FUNCTION: wnn - test a unit form for weak non-negativity

CALLING SEQUENCE:
wnn(q)
wnn(q,rt)

PARAMETERS:
q - a unit form
rt - an optional parameter evaluating to a name

SYNOPSIS:

EXAMPLES:

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

[Maple Math]

> q:=titsform(a);

[Maple Math]

> wnn(q,'rt');

[Maple Math]

> print(rt);

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

----------------------------------------------------

> a:=hypercritical_algd(4,1);

[Maple Math]

> q:=titsform(a);

[Maple Math]

> wnn(q,'rt');

[Maple Math]

> print(rt);

[Maple Math]

> 1/2*innerprod(rt,q,rt);

[Maple Math]

SEE ALSO: weakly_nonneg, wp

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