Forgot password?
 Create new account
View 103|Reply 0

[Sage] create a symbolic matrix

[Copy link]

3146

Threads

8493

Posts

610K

Credits

Credits
66158
QQ

Show all posts

hbghlyj Posted at 2023-6-9 17:36: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|Leisure Math Forum

2025-4-20 22:09 GMT+8

Powered by Discuz!

× Quick Reply To Top Return to the list