Revision c206b9035f722ce969cde24cacd05182e6434754 authored by Mohamed Barakat on 08 July 2015, 14:52:28 UTC, committed by Mohamed Barakat on 09 July 2015, 16:29:50 UTC
1 parent e2f711d
Raw File
FromAndToMatrix.g
LoadPackage( "RingsForHomalg" );

A1 := RingForHomalgInMapleUsingJanetOre( "[[D,t],[],[weyl(D,t)]]" );

wmat := HomalgMatrix( " \
[[D,0,t,0],[0,D-t,D*t,0]] \
", A1 );
Display( wmat );
r := NrRows( wmat );
c := NrColumns( wmat );
kmat := ConvertMatrixToRow( wmat );
Display( kmat );
hmat := ConvertRowToMatrix( kmat, r, c );
Display( hmat );
kmat := ConvertMatrixToColumn( wmat );
Display( kmat );
hmat := ConvertColumnToMatrix( kmat, r, c );
Display( hmat );
back to top