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

Online Help

All Products    Maple    MapleSim


RegularChains[SemiAlgebraicSetTools]

  

RefineBox

  

refine a box

  

RefineListBox

  

refine a list of boxes

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

RefineBox(box, precision, R)

RefineListBox(l_boxes, precision, R)

Parameters

R

-

polynomial ring

box

-

box isolating a root

precision

-

positive numeric constant

l_boxes

-

list of boxes isolating roots

Description

• 

The RefineBox command refines a box so its width is smaller or equal to precision. It returns a box isolating the same root as box.

• 

The RefineListBox command refines a list of boxes so their widths are smaller or equal to precision. It returns a list of boxes isolating the same roots as l_boxes. It is more efficient than using map and RefineBox when the boxes isolate roots originating from the same regular chain. Refining a box allows one to refine instantly other boxes which share a common part.

Examples

> 

with⁡RegularChains:

> 

with⁡ChainTools:

> 

with⁡SemiAlgebraicSetTools:

> 

R≔PolynomialRing⁡y,x

R≔polynomial_ring

(1)
> 

C≔Chain⁡x2−2⁢x−1,y−2⁢y−x,Empty⁡R,R

C≔regular_chain

(2)
> 

L≔RealRootIsolate⁡C,R

L≔box,box,box,box,box,box

(3)
> 

map⁡BoxValues,L,R

y=−4634132768,−14829091048576,x=−14829111048576,−741455524288,y=1048575524288,1048577524288,x=−14829111048576,−741455524288,y=1,x=1,y=2,x=1,y=14828991048576,741461524288,x=741455524288,14829111048576,y=524285262144,524291262144,x=741455524288,14829111048576

(4)

Refine the first box:

> 

rb≔RefineBox⁡L1,10−5,R

rb≔box

(5)
> 

BoxValues⁡rb,R

y=−4634132768,−14829091048576,x=−14829111048576,−741455524288

(6)
> 

rlb≔RefineListBox⁡L,10−4,R

rlb≔box,box,box,box,box,box

(7)
> 

map⁡BoxValues,rlb,R

y=524285262144,524291262144,x=741455524288,14829111048576,y=14828991048576,741461524288,x=741455524288,14829111048576,y=2,x=1,y=1,x=1,y=1048575524288,1048577524288,x=−14829111048576,−741455524288,y=−4634132768,−14829091048576,x=−14829111048576,−741455524288

(8)
> 

rb≔RefineBox⁡L1,120,R

rb≔box

(9)
> 

BoxValues⁡rb,R

y=−4634132768,−14829091048576,x=−14829111048576,−741455524288

(10)
> 

rlb≔RefineListBox⁡L,120,R

rlb≔box,box,box,box,box,box

(11)
> 

map⁡BoxValues,rlb,R

y=524285262144,524291262144,x=741455524288,14829111048576,y=14828991048576,741461524288,x=741455524288,14829111048576,y=2,x=1,y=1,x=1,y=1048575524288,1048577524288,x=−14829111048576,−741455524288,y=−4634132768,−14829091048576,x=−14829111048576,−741455524288

(12)

See Also

BoxValues

RealRootIsolate