Re: operate a matrix of derivations
- To: mathgroup at smc.vnet.net
- Subject: [mg39222] Re: [mg39184] operate a matrix of derivations
- From: BobHanlon at aol.com
- Date: Tue, 4 Feb 2003 02:22:02 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
In a message dated 2/3/03 1:34:44 AM, iselig at techunix.technion.ac.il writes: > I want to make a matrix of derivations, so I will be able to multiply > it by a matrix of functions and get the result matrix > simple example: > > |d/dx 0 | |xy x| |y 1| > | |.| |=| | > |d/dy d/dx| |x+y 3| |x+1 0| > > thank you > > > Inner[#1[#2]&, {{D[#, x]&, #*0&},{D[#, y]&, D[#, x]&}}, {{x*y, x}, {x + y, 3}}, Plus] {{y, 1}, {1 + x, 0}} or Inner[D[#2,#1]&, {{x, Unique[]},{y, x}}, {{x*y, x},{x + y, 3}}, Plus] {{y, 1}, {1 + x, 0}} Bob Hanlon