projects / code / Maple

This is a collection of short things I've written in the Maple language, of varying usefulness.

Note: most of the code below requires Maple 6 or later.

Bitwise.mm Bitwise operations on integers done in plain Maple.
ComputeEaster.mm A procedure which prints the date of Easter Sunday in the Gregorian calendar for a given year.
EllipticCurve.mm A module implementing various operations on the group induced by the elliptic curve y2=x3+ax+b.
Mergesort.mm An efficient implementation of the Merge Sort algorithm.
NaiveMergesort.mm A naive implementation of the Merge Sort algorithm.
NeedlemanWunsch.mpl An implementation of Needleman-Wunsch biological sequence alignment algorithm.
PohligHellman.mm The Pohlig-Hellman algorithm for finding discrete logarithms modulo a prime.
RotationCipher.mm A simple alphabetic rotation cipher.
SolovayStrassen.mm The Solovay-Strassen primality test algorithm.
ThueMorse.mm Computes the Thue-Morse sequence and associated objects.