Forgot password?
 Register account
View 147|Reply 0

[Sage] create a symbolic matrix

[Copy link]

3157

Threads

7925

Posts

610K

Credits

Credits
64224
QQ

Show all posts

hbghlyj Posted 2023-6-9 17:36 |Read mode
  1. latex(matrix(4,4,list(var('b_%d%d'%(i,j)) for i in range(4) for j in range(4))))
Copy the Code
\[\left(\begin{array}{rrrr}
b_{00} & b_{01} & b_{02} & b_{03} \\
b_{10} & b_{11} & b_{12} & b_{13} \\
b_{20} & b_{21} & b_{22} & b_{23} \\
b_{30} & b_{31} & b_{32} & b_{33}
\end{array}\right)\]

Mobile version|Discuz Math Forum

2025-6-7 17:12 GMT+8

Powered by Discuz!

× Quick Reply To Top Edit