So, I have a matrix that is 6 x 3. Some of its elements are of the form (d/dx), and (d2/dx2). Now when this matrix is multiplied with a 3 x 12 matrix whose elements are functions of x, I will get the final matrix whose corresponding elements are differentiated.
I have tried a few ways, but it did not work. Please suggest me. TIA
G_times_S = matrix([[0, 0, 0], [0, (twole)diff(), 0], [(twole)diff(), 0, 0], [0, 0, 0], [0, 0, -diff(, 2)*(twole)^2], [0, 0, 0]]) * S(x)
NOTE: 1. S(x) is a 3 x 12 matrix which is known. 2. Operator matrix = matrix([[0, 0, 0], [0, (twole)diff(), 0], [(twole)diff(), 0, 0], [0, 0, 0], [0, 0, -diff(, 2)*(twole)^2], [0, 0, 0]]) which is 6 x 3. (Need help with this!)
This is what I am trying to do but the diff(function, order) needs arguments.