Overview of the SNAP Package - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Packages : SNAP

Overview of the SNAP Package

 

Calling Sequence

Description

List of SNAP Package Command

Examples

References

Calling Sequence

SNAP[command](arguments)

command(arguments)

Description

• 

The SNAP (Symbolic-Numeric Algorithms for Polynomials) package provides routines for the algebraic manipulation of numerical polynomials in a reliable way.

• 

The tools in the package include support for operations such as quotient, remainder, and numeric GCD. For the last operation you can compute an epsilon-GCD or a quasi-GCD. Additional operations include numerical computations that determine the last numerically stable Euclidean reduction, an approximation to the distance of a closest common root of two relatively prime numeric polynomials, and other similar quantities.

• 

Each command in the SNAP package can be accessed by using either the long form or the short form of the command name in the command calling sequence.

  

As the underlying implementation of the SNAP package is a module, it is also possible to use the form SNAP:-command to access a function from the package. For more information,  see Module Members.

List of SNAP Package Command

  

The following is a list of available commands.

AreCoprime

DistanceToCommonDivisors

DistanceToSingularPolynomials

EpsilonGCD

EuclideanReduction

IsSingular

QRGCD

QuasiGCD

Quotient

Remainder

 

 

  

To display the help page for a particular SNAP command, see Getting Help with a Command in a Package.

Examples

withSNAP

AreCoprime,DistanceToCommonDivisors,DistanceToSingularPolynomials,EpsilonGCD,EuclideanReduction,IsSingular,QRGCD,QuasiGCD,Quotient,Remainder

(1)

1. Coprimeness test

a0.1z2+1.5z0.2

a:=0.1z2+1.5z0.2

(2)

b0.2z3+0.15

b:=0.2z3+0.15

(3)

AreCoprimea,b,z,0.5

false

(4)

AreCoprimea,b,z,0.1

true

(5)

2. Distance to the polynomial pairs with a common root

DistanceToCommonDivisorsa,b,z

0.123978712017601

(6)

References

  

Jeannerod, C-P., and Labahn, G. "The SNAP package for numerical polynomial arithmetic in Maple" Computer Science Technical Report University of Waterloo, 2002.

See Also

help

UsingPackages

with

 


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