All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.lsmp.djep.groupJep.groups.PermutationGroup Maven / Gradle / Ivy

Go to download

JEP is a Java library for parsing and evaluating mathematical expressions. Use groupId org.fudaa to deploy it in maven central

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy