Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #5454
| From | Thomas Markovich <thomasmarkovich@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Tensor Products with Derivatives in Mathematica |
| Date | 2011-10-06 08:41 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <j6jpkh$mfj$1@smc.vnet.net> (permalink) |
Hi,
I would like to take the tensor product of two gradient operators so
that I can construct a matrix "derivative."
This is to say that I want to do the following
\begin{pmatrix}
\partial_x \\
\partial_y \\
\partial_z
\end{pmatrix}
\begin{pmatrix}
\partial_x & \partial_y & \partial_z
\end{pmatrix}
= \begin{pmatrix}
\partial^2_{x,x} & \partial^2_{x,y} & \partial^2_{x,z} \\
\partial^2_{y,x} & \partial^2_{y,y} & \partial^2_{y,z} \\
\partial^2_{z,x} &\partial^2_{z,y} & \partial^2_{z,z}
\end{pmatrix}
and I have tried to do
Qt = ( {
{(=E2=80=98=E2=84=A2
=CB=9CSubscriptBox[=E2=84=A2=E2=88=82, =E2=84=A2x]# + W11), (=E2=80=98=E2=84=A2
=CB=9CSubscriptBox[=E2=84=A2=E2=88=82, =E2=84=A2y]# + W12)}
} ) &;
Q = ( {
{(=E2=80=98=E2=84=A2
=CB=9CSubscriptBox[=E2=84=A2=E2=88=82, =E2=84=A2x]# + W11)},
{(=E2=80=98=E2=84=A2
=CB=9CSubscriptBox[=E2=84=A2=E2=88=82, =E2=84=A2y]# + W12)}
} ) &;
Qt@Q
But this appears not to work. Any ideas?
Thomas
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Tensor Products with Derivatives in Mathematica Thomas Markovich <thomasmarkovich@gmail.com> - 2011-10-06 08:41 +0000
csiph-web