org.rubato.math.module.morphism
Class ShuffleMorphism

java.lang.Object
  extended by org.rubato.math.module.morphism.ShuffleMorphism

public abstract class ShuffleMorphism
extends java.lang.Object

This morphism reorders the components of an element of the domain.

Author:
Gérard Milmeister

Method Summary
static ModuleMorphism make(FreeModule domain, FreeModule codomain, int[] shuffle)
          Creates a morphisms that reorder an element from domain, according to the array shuffle.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

make

public static ModuleMorphism make(FreeModule domain,
                                  FreeModule codomain,
                                  int[] shuffle)
Creates a morphisms that reorder an element from domain, according to the array shuffle. This means, that the component at i is mapped to shuffle[i]. Components not hit are set to zero.