org.lsmp.djep.groupJep.groups.PermutationGroup Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jep Show documentation
Show all versions of jep Show documentation
JEP is a Java library for parsing and evaluating mathematical expressions.
The newest version!
/* @author rich
* Created on 15-Mar-2004
*/
package org.lsmp.djep.groupJep.groups;
import org.lsmp.djep.groupJep.GroupI;
import org.lsmp.djep.groupJep.values.*;
import org.lsmp.djep.groupJep.interfaces.*;
/**
* The group of permutations.
*
* TODO not sure if this works, not really tested.
*
* @author Rich Morris
* @see org.lsmp.djep.groupJep.values.Permutation
* Created on 15-Mar-2004
*/
public class PermutationGroup extends Group implements GroupI , HasListI {
protected Permutation zeroPerm;
public PermutationGroup(int n)
{
Integer perm[] = new Integer[n];
for(int i=0;i