Function that returns the matrix with lines and columns interchangedthe matrix (1 3) would be transformed into the matrix (1 2) (2 7) (3 7)
(<=> (Transpose ?A ?B)
(And (Matrix ?A)
(Matrix ?B)
(= (Column-Dimension ?A) (Row-Dimension ?B))
(= (Row-Dimension ?A) (Column-Dimension ?B))
(Forall (?I ?J) (= (Value ?A ?I ?J) (Value ?B ?J ?I)))))