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

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  0a .

• 

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

Examples

withsimplex:

typea0,NONNEGATIVE

true

(1)

type0a,NONNEGATIVE

true

(2)

typea=0,NONNEGATIVE

false

(3)

type0a+b,NONNEGATIVE

false

(4)

See Also

simplex

type