Overview of the SNAP Package
Calling Sequence
Description
List of SNAP Package Command
Examples
References
SNAP:-command(arguments)
command(arguments)
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.
The long form, SNAP:-command, is always available. The short form can be used after loading the package.
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.
with⁡SNAP
AreCoprime,DistanceToCommonDivisors,DistanceToSingularPolynomials,EpsilonGCD,EuclideanReduction,IsSingular,QRGCD,QuasiGCD,Quotient,Remainder
1. Coprimeness test
a≔0.1⁢z2+1.5⁢z−0.2
b≔0.2⁢z3+0.15
AreCoprime⁡a,b,z,0.5
false
AreCoprime⁡a,b,z,0.1
true
2. Distance to the polynomial pairs with a common root
DistanceToCommonDivisors⁡a,b,z
0.123978712017601
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