Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  MonoidalStructure.g   Sprache: unbekannt

 
Spracherkennung für: .g vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

#! @Chapter Examples and Tests

#! @Section Monoidal structure

#! @Example
LoadPackage( "LinearAlgebraForCAP", false );
#! true
Q := HomalgFieldOfRationals();;
vec := MatrixCategory( Q );;
a := MatrixCategoryObject( vec, 1 );
#! <A vector space object over Q of dimension 1>
b := MatrixCategoryObject( vec, 2 );
#! <A vector space object over Q of dimension 2>
c := MatrixCategoryObject( vec, 3 );
#! <A vector space object over Q of dimension 3>
z := ZeroObject( vec );
#! <A vector space object over Q of dimension 0>
alpha := VectorSpaceMorphism( a, [ [ 10 ] ], b );
#! <A morphism in Category of matrices over Q>
beta := VectorSpaceMorphism( b,
                [ [ 100 ], [ 010 ] ], c );
#! <A morphism in Category of matrices over Q>
gamma := VectorSpaceMorphism( c,
                 [ [ 011 ], [ 101 ], [ 110 ] ], c );
#! <A morphism in Category of matrices over Q>
IsCongruentForMorphisms(
    TensorProductOnMorphisms( alpha, beta ),
    TensorProductOnMorphisms( beta, alpha )
);
#! false
IsCongruentForMorphisms(
    AssociatorRightToLeft( a, b, c ),
    IdentityMorphism( TensorProductOnObjects( a, TensorProductOnObjects( b, c ) ) )
);
#! true
IsCongruentForMorphisms(
    gamma,
    LambdaElimination( c, c, LambdaIntroduction( gamma ) )
);
#! true
IsZeroForMorphisms( TraceMap( gamma ) );
#! true
IsCongruentForMorphisms(
    RankMorphism( DirectSum( a, b ) ),
    RankMorphism( c )
);
#! true
IsCongruentForMorphisms(
    Braiding( b, c ),
    IdentityMorphism( TensorProductOnObjects( b, c ) )
);
#! false
IsCongruentForMorphisms(
    PreCompose( Braiding( b, c ), Braiding( c, b ) ),
    IdentityMorphism( TensorProductOnObjects( b, c ) )
);
#! true
#! @EndExample

[Dauer der Verarbeitung: 0.43 Sekunden]

                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1019547
#Domains=890699