NZMATH  1.2.0
About: NZMATH is a Python based number theory oriented calculation system.
  Fossies Dox: NZMATH-1.2.0.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

nzmath.permute.PermGroup Class Reference

Public Member Functions

def __init__ (self, key)
 
def __repr__ (self)
 
def __str__ (self)
 
def __eq__ (self, other)
 
def __ne__ (self, other)
 
def card (self)
 
def createElement (self, seed)
 
def identity (self)
 
def identity_c (self)
 
def grouporder (self)
 
def randElement (self)
 

Public Attributes

 key
 

Detailed Description

This is a class for permutation group.

Definition at line 561 of file permute.py.

Constructor & Destructor Documentation

◆ __init__()

def nzmath.permute.PermGroup.__init__ (   self,
  key 
)

Definition at line 565 of file permute.py.

Member Function Documentation

◆ __eq__()

◆ __ne__()

def nzmath.permute.PermGroup.__ne__ (   self,
  other 
)

Definition at line 587 of file permute.py.

◆ __repr__()

def nzmath.permute.PermGroup.__repr__ (   self)

◆ __str__()

def nzmath.permute.PermGroup.__str__ (   self)

◆ card()

def nzmath.permute.PermGroup.card (   self)

◆ createElement()

def nzmath.permute.PermGroup.createElement (   self,
  seed 
)
Create Permute or ExPermute with seed.
createElement(dict) -> Permute(dict)
createElement(tuple) -> Permute(list(tuple), self.key)
createElement(key_element_list) -> Permute(key_element_list, self.key)
createElement([cyclic_tuple,...]) -> ExPermute(len(self.key), [cyclic_tuple,...], self.key)

Definition at line 593 of file permute.py.

References nzmath.permute.Permute.key, nzmath.permute.ExPermute.key, and nzmath.permute.PermGroup.key.

Referenced by nzmath.finitefield.FiniteField.random_element(), and nzmath.finitefield.FiniteField.TonelliShanks().

◆ grouporder()

def nzmath.permute.PermGroup.grouporder (   self)

◆ identity()

def nzmath.permute.PermGroup.identity (   self)

◆ identity_c()

def nzmath.permute.PermGroup.identity_c (   self)
Return identity for cyclic type.

Definition at line 618 of file permute.py.

References nzmath.permute.Permute.key, nzmath.permute.ExPermute.key, and nzmath.permute.PermGroup.key.

◆ randElement()

def nzmath.permute.PermGroup.randElement (   self)
Create random Permute type element.

Definition at line 627 of file permute.py.

References nzmath.permute.Permute.key, nzmath.permute.ExPermute.key, and nzmath.permute.PermGroup.key.

Member Data Documentation

◆ key


The documentation for this class was generated from the following file: