NONNEGATIVE - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


type/NONNEGATIVE

test if constraint is of the form a >= 0

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

type(expr, 'NONNEGATIVE' )

Parameters

expr

-

any expression

Description

• 

This is a Boolean function to test if the expression is a constraint of the form  0≤a .

• 

This function is part of the simplex package and can only be used after performing the command with(simplex).

Examples

> 

with⁡simplex:

> 

type⁡−a≤0,NONNEGATIVE

true

(1)
> 

type⁡0≤a,NONNEGATIVE

true

(2)
> 

type⁡a=0,NONNEGATIVE

false

(3)
> 

type⁡0≤a+b,NONNEGATIVE

false

(4)

See Also

simplex

type