Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/GAP/pkg/matricesforhomalg/tst/   (Algebra von RWTH Aachen Version 4.15.1©)  Datei vom 7.8.2025 mit Größe 505 B image not shown  

SSL HomalgRowVector.tst   Sprache: unbekannt

 
gap> START_TEST( "HomalgRowVector" );

#
gap> LoadPackage( "MatricesForHomalg", false : OnlyNeeded );
true
gap> zz := HomalgRingOfIntegers( );
Z
gap> row_vector := HomalgRowVector( [ 1, 2, 3 ], 3, zz );
<A 1 x 3 matrix over an internal ring>
gap> EntriesOfHomalgRowVector( row_vector );
[ 1, 2, 3 ]
gap> column_vector := HomalgColumnVector( [ 1, 2, 3 ], 3, zz );
<A 3 x 1 matrix over an internal ring>
gap> EntriesOfHomalgColumnVector( column_vector );
[ 1, 2, 3 ]

#
gap> STOP_TEST( "HomalgRowVector" );

[ Verzeichnis aufwärts0.12unsichere Verbindung  Übersetzung europäischer Sprachen durch Browser  ]