Close
Close window
define_zero - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

simplex

define_zero

define the zero tolerance for floats

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


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /