Spracherkennung für: .tst vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]
# MatricesForHomalg, single 16
#
# DO NOT EDIT THIS FILE - EDIT EXAMPLES IN THE SOURCE INSTEAD!
#
# This file has been generated by AutoDoc. It contains examples extracted from
# the package documentation. Each example is preceded by a comment which gives
# the name of a GAPDoc XML file and a line range from which the example were
# taken. Note that the XML file in turn may have been generated by AutoDoc
# from some other input.
#
gap> START_TEST("matricesforhomalg16.tst");
# doc/../gap/HomalgMatrix.gi:3304-3315
gap> zz := HomalgRingOfIntegers( );
Z
gap> d := HomalgDiagonalMatrix( [ 1, 2, 3 ], zz );
<An unevaluated diagonal 3 x 3 matrix over an internal ring>
gap> Display( d );
[ [ 1, 0, 0 ],
[ 0, 2, 0 ],
[ 0, 0, 3 ] ]
gap> d;
<A diagonal 3 x 3 matrix over an internal ring>
#
gap> STOP_TEST("matricesforhomalg16.tst", 1);
[ Dauer der Verarbeitung: 0.37 Sekunden
]