Eine aufbereitete Darstellung der Quelle

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

Benutzer

Quelle  sparsematrix.tst  Sprache: unbekannt

 
Spracherkennung für: .tst vermutete Sprache: Lisp {Lisp[45] Masm[45] ABAP[40]} [Methode: maximale Elemente, drei Dimensionen]

gap> LoadPackage( "Gauss", false );
true
gap> m := SparseMatrix(1,1,[[1]]);
<a 1 x 1 sparse matrix over GF(2)>
gap> Print(m+m,"\n");
SparseMatrix( 1, 1, [ [  ] ], GF(2) )
gap> Print(m+m+m,"\n");
SparseMatrix( 1, 1, [ [ 1 ] ], GF(2) )
gap> Print(m*m,"\n");
SparseMatrix( 1, 1, [ [ 1 ] ], GF(2) )

# Test SparseMatrix works with ranges
gap> m := SparseMatrix(3,3,[[1..3],[1,3..3],[1,2,3]]);
<a 3 x 3 sparse matrix over GF(2)>
gap> Print(m+m,"\n");
SparseMatrix( 3, 3, [ [  ], [  ], [  ] ], GF(2) )
gap> Print(m+m+m,"\n");
SparseMatrix( 3, 3, [ [ 1, 2, 3 ], [ 1, 3 ], [ 1, 2, 3 ] ], GF(2) )
gap> Print(m*m,"\n");
SparseMatrix( 3, 3, [ [ 1, 3 ], [  ], [ 1, 3 ] ], GF(2) )

[Dauer der Verarbeitung: 0.2 Sekunden, vorverarbeitet 2026-10-24]

                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1104857
#Domains=417921