New Packages in Maple 9
Maple 9 contains many new packages.
For information on enhanced Maple 9 packages, see Enhanced Packages in Maple 9: Part 1 and Enhanced Packages in Maple 9: Part 2.
This help page describes the following new packages.
Two new packages have been added to the Student package: Precalculus and LinearAlgebra.
For information on enhancements to the Student package, see Enhanced Packages in Maple 9: Part 2.
The StudentPrecalculus package consists of a set of Maplet applications that helps you visualize the basic concepts that must be mastered before studying calculus: lines, polynomials, rational functions, other standard functions, composition of functions, as well as introductions to tangent lines and limits. Using each Maplet application, you can adjust the parameters or functions to experiment with the concept.
The StudentLinearAlgebra package has three components: computation, visualization, and interaction. The computation component has many of the same commands as the top-level (non-Student) LinearAlgebra package, but with simpler calling sequences and a more constrained computation domain. The visualization component includes commands that help to graphically illustrate the fundamental concepts of linear algebra, such as the action of a matrix on a vector or set of vectors, the solution of a linear system or least squares problem, and the solution of an eigenproblem. The interaction component presents many of these concepts through Maplet interfaces, allowing you to more easily experiment with the effects of changing parameters or functions.
The new ScientificErrorAnalysis package provides representation and construction of numerical quantities that have a central value and associated uncertainty or error, which is some measure of the degree of precision to which the quantity's value is known. First-order calculations of error analysis can be performed with these quantities.
The ScientificErrorAnalysis package takes into account correlations. For example, find the ratio of the electron magnetic moment anomaly (a[e]) and the fine structure constant (alpha).
emma := Constant( a[e] );
fsc := Constant( alpha );
Find the ratio and its error.
combine( emma/fsc, errors );
Find the error, but without taking the correlation into account.
combine( emma/fsc, errors, correlations = false );
This can also be done with user-defined quantities-with-error.
The new DiscreteTransforms package computes the fast Fourier transform (and inverse transform) of single or multi-dimensional data.
This package replaces the limited FFT and iFFT commands in Maple, as it is capable of computing the fast Fourier transform of sequences of arbitrary length, limited only by the available storage (memory).
The FourierTransform and InverseFourierTransform functions work in hardware precision, so are limited to 15 Digits of accuracy, but run in compiled code, so are very fast.
Z := Vector(100000,
tt := time():
The new ArrayTools package provides low-level manipulation of rectangular Arrays, Vectors, and Matrices, and rectangular Array, Vector, and Matrix data aliasing. This package is provided primarily for programming purposes.
Examples of the capabilities that this package provides are:
- Efficient data filling (ArrayTools[Fill])
- Raw data copying of portions of one Array to another (ArrayTools[Copy])
- In-place data reordering (ArrayTools[DataTranspose])
- Aliasing the data (or part of the data) of an Array to another Array with, for example, different ordering, indices, or dimensions (ArrayTools[Alias])
- Aliasing a complex Array as a double-sized real valued Array, which can be used within evalhf (ArrayTools[ComplexAsFloat])
For more information, see ArrayTools.
The new FileTools package provides an interface for performing file input and output, and file manipulation. New features include file locking, file statistics querying, and hardware datatype byte reordering. It also provides basic functions like Copy, Rename, and Remove.
The new CodeTools package provides functions to assist Maple programmers improve the quality of their code. Currently CodeTools provides a Profiling subpackage that performs statement-level profiling of Maple code. Also included in the Profiling package are functions for performing coverage analysis of Maple code. Coverage analysis allows a programmer to determine which statements are utilized during the execution of the code.
The new IntegerRelations package contains two routines, LLL, and PSLQ, which solve specific computational problems. The LLL function is the Lenstra-Lenstra-Lovasz lattice basis reduction. The PSLQ function is Bailey and Fegusson's partial sum of least squares algorithm.
The new identify function is closely related to and dependent on the IntegerRelations package. It attempts to determine the symbolic value of a floating-point number.
The new OrderBasis function computes an order basis for a set of functions. Roughly, it finds all polynomial coefficients that give an identity of the form:
up to a certain number of terms and with the degree of each vi bounded. This is similar to the IntegerRelations[PSLQ] algorithm, which finds integer relations for floating-point numbers.
The new gfun package produces and manipulates generating functions.
The package provides tools to compute with generating functions defined by equations. For example, given two generating functions defined by linear differential equations with polynomial coefficients, there is a procedure that computes the differential equation satisfied by their product.
For more information, see gfun.
The new MathematicalFunctions package provides general information on mathematical function in Maple, including identities, alternative definitions, and mathematical properties.
The new related FunctionAdvisor command also provides information on mathematical function in Maple.
For more information, see MathematicalFunctions.
The new QDifferenceEquations package solves the following problems.
Find polynomial solutions of a linear q-difference equation with polynomial coefficients.
Find rational solutions of a linear q-difference equation with polynomial coefficients.
Find the universal denominator of the rational solutions of a linear q-difference equation with polynomial coefficients.
Compute the q-dispersion of two polynomials.
For a given linear q-difference equation with polynomial coefficients, the main functionality of this package is to find closed-form polynomial or rational solutions. For finding rational solutions, the package constructs a universal denominator of such a solution. The construction of the universal denominator is based on the computation of a q-dispersion of two polynomials.
The functions PolynomialSolution and RationalSolution can solve a single q-difference equation or a system of such equations. In the latter case, the functions invoke LinearFunctionalSystems[PolynomialSolution] and LinearFunctionalSystems[RationalSolution] to find solutions.
eq1 := (1-q^10-(q-q^10)*x)*y(q^2*x)-(1-q^20-(q^2-q^20)*x)*y(q*x) +
q^10*(1-q^10-(q^2-q^11)*x)*y(x) = (q^21-q^20-q^12+q^10+q^2-q)*x;
sol1 := PolynomialSolution(eq1, y(x));
IsSolution(sol1, eq1, y(x));
eq2 := q^3*(q*x+1)*y(q^2*x) - 2*q^2*(x+1)*y(q*x)+y(x)*(x+q)
sol2 := RationalSolution(eq2, y(x));
IsSolution(sol2, eq2, y(x));
The new LREtools[HypergeometricTerm] subpackage solves the following problems.
Find polynomial solutions of a linear difference equation with polynomial coefficients depending on a hypergeometric term.
Find a hypergeometric dispersion of two polynomials depending on a hypergeometric term.
Find a solution of an orbit problem.
Find a universal denominator of the rational solutions of a linear difference equation with polynomial coefficients depending on a hypergeometric term.
Find rational solutions of a linear difference equation with polynomial coefficients depending on a hypergeometric term.
The hypergeometric term in the linear difference equation is given by some name, for example, t. It can be specified either directly in the form of equation, for example, t=n! , or by the pair of the name of term variable and the ratio of two successive values of the term, for example, t,n+1. An equation can contain a hypergeometric term specified directly (not by a special name) as well. In this case, the procedure extracts the term from the equation, transforms the equation to the form with a name representing a hypergeometric term, and then solves the transformed equation.
(sol,r) := LREtools[HypergeometricTerm][PolynomialSolution](eq,z(n),t=(2^n)*n!);
(sol, r) := LREtools[HypergeometricTerm][PolynomialSolution](eq,y(n));
For information on enhancements to the LREtools package, see Enhanced Packages in Maple 9: Part 1.
Enhanced Packages in Maple 9: Part 1
Enhanced Packages in Maple 9: Part 2
Index of New Maple 9 Features
Download Help Document