define_zero - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


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.000000000×10−8

(1)

Digits50

Digits50

(2)

define_zero

1.0000000000000000000000000000000000000000000000000×10−48

(3)

Digits4

Digits4

(4)

define_zero

0.01000

(5)

define_zero108

1.000×10−8

(6)

define_zero

1.000×10−8

(7)

See Also

simplex[setup]