MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: operate a matrix of derivations


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



  • Prev by Date: Re: RealOnly
  • Next by Date: Re: Writing a program to hunt for a prime between n^2 and (n+1)^2
  • Previous by thread: Re: operate a matrix of derivations
  • Next by thread: RE: operate a matrix of derivations