Main /
PermutationsCategories: WIN rds-hosted Mathematics Permutations 962K Author: Fred Ransom Date: Apr 10 2013 http://www.rapideuphoria.com/permutatons.zip Permutations: This presents a Permutations namespace for n items taken m (<= n) at a time. It creates and delivers one permutation with each call to Permutations:next(). It also keeps track of parity, thus making it useful for some things in linear algebra. Determinants, matrix inverse and solving simultaneous equations are illustrated. All routines were chosen to illustrate use of permutations rather than speed. Although the field of real numbers was assumed here, these routines will work for any field, such as complex numbers or the integers mod 7 when you define appropriate arithmetic operations. EU 4, Judith's IDE and Win32Lib. Permutations.e is general. |