I know about the ability of python to do matrix multiplications. Unfortunately I don't know how to do this abstractly? So not with definite numbers but with variables.
Example:
M = ( 1 0 ) * ( 1 d )
( a c ) ( 0 1 )
Is there some way to define a,c and d, so that the matrix multiplication gives me
( 1 d )
( a a*d + c )
?
sympy
, a python library for symbolic computing. – Kerch