0
$\begingroup$

Suppose I have a matrix M=$\begin{pmatrix} A(p) & B(p) \\ C(p) & D(p)\end{pmatrix}$.

I want to apply some operatorial matrix E such that

EM=$\begin{pmatrix} 0 & \partial_p & \\ \partial_p & 0\end{pmatrix}\begin{pmatrix} A(p) & B(p) \\ C(p) & D(p)\end{pmatrix}$.

How can I create such an operatorial matrix ? I cannot do this explicitly because M is a product of complicated matrices, and I have to apply E several times.

$\endgroup$
3
  • $\begingroup$ Welcome to Mathematica.SE! I hope you will become a regular contributor. To get started, 1) take the introductory Tour now, 2) when you see good questions and answers, vote them up by clicking the gray triangles, because the credibility of the system is based on the reputation gained by users sharing their knowledge, 3) remember to accept the answer, if any, that solves your problem, by clicking the checkmark sign, and 4) give help too, by answering questions in your areas of expertise. $\endgroup$
    – bbgodfrey
    Commented Jun 8, 2015 at 13:36
  • $\begingroup$ Perhaps you could carry out the product normally like a matrix product then replace the Times's at the right levelspec with the action of the operator or with an Apply. I'm not qualified to give an answer on pattern matching though... $\endgroup$
    – Histograms
    Commented Jun 8, 2015 at 13:46
  • 5
    $\begingroup$ Inner[Operate, {{(0 &) &, Derivative[1]}, {Derivative[1], (0 &) &}}, M, Plus]. Use Nest[] as needed. $\endgroup$ Commented Jun 8, 2015 at 14:01

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.