simplex - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Optimization : Simplex Linear Optimization : simplex/define_zero

simplex

  

define_zero

  

define the zero tolerance for floats

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

define_zero(err)

Parameters

err

-

(optional) positive number defining the smallest nonzero number

Description

• 

The function call define_zero(err) sets the absolute size of the minimum nonzero quantity. The function call define_zero() simply reports the current absolute size of the minimum nonzero quantity.

• 

Its initial magnitude depends on the setting of Digits. It can be independently specified as a new error tolerance as the argument to define_zero.

• 

The command with(simplex,define_zero) allows the use of the abbreviated form of this command.

Examples

withsimplex:

define_zero

1.00000000010-8

(1)

Digits50

Digits:=50

(2)

define_zero

1.000000000000000000000000000000000000000000000000010-48

(3)

Digits4

Digits:=4

(4)

define_zero

0.01000

(5)

define_zero108

1.00010-8

(6)

define_zero

1.00010-8

(7)

See Also

simplex[setup]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam