The default behaviour of "SquareMatrix(n, FRAC INT) * INT" is to treat the INT as DirectProduct and return DirectProduct:
y := [[1,2],[3,4]]; Type: List(List(PositiveInteger)) y::SQMATRIX(2,FRAC INT)*1 (2) [3,7] Type: DirectProduct(2,Fraction(Integer)) y::SQMATRIX(2,INT)*1 ┌1 2┐ (3) │ │ └3 4┘ Type: SquareMatrix(2,Integer) y::SQMATRIX(2,FRAC INT)*(1::FRAC INT) ┌1 2┐ (4) │ │ └3 4┘ Type: SquareMatrix(2,Fraction(Integer)) This problem doesn't happen for Matrix FRAC INT. I think this is a bug. -- You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group. To unsubscribe from this group and stop receiving emails from it, send an email to fricas-devel+unsubscr...@googlegroups.com. To post to this group, send email to fricas-devel@googlegroups.com. Visit this group at https://groups.google.com/group/fricas-devel. For more options, visit https://groups.google.com/d/optout.