I am trying to multiply 4 matrices. Every other matrix is working fine except one matrix for which it is throwing an error of recursion depth of 1024 is exceeded. I don't know why is this happening. Can anyone tell me how to deal with this problem?
Thanks a lot Hans and John
Yeah, when using subscripts, by default, Mathematica recognizes the main symbol and the subscript as separate elements. You can symbolize subscript variables with the Notations package.
When using the Symbolize function of the Notations package, you can symbolize any generic variable with a subscript using f_ ctrl(-) _ . That's two underscores: one after f and one in the subscript. Where f_ stands for any variable and the underscore in the subscript stands for anything.
Avoid the subscripts. The line below does not give the error:
d = {{0, 0, 0, 0, d15, 0}, {0, 0, 0, d15, 0, 0}, {d13, d13, d33, 0, 0, 0}}