Message Boards Message Boards

0
|
127 Views
|
0 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Generating a symbolic computation of a dot product between a vector and tensor without evaluation

Posted 3 days ago

How does one generate a symbolic computation without evaluation of a dot product between a vector and tensor? This is my attempt. In this case, the first list represents a tensor with partial derivatives, and the second list {0, 0, u} is a vector.

   Dot[{\!\(
    \*SubscriptBox[\(\[PartialD]\), \(x\)]\ \(\(,\)\(\ \)\(
    \*SubscriptBox[\(\[PartialD]\), \(y\)]\ \(\(,\)\(\ \)
    \*SubscriptBox[\(\[PartialD]\), \(z\)]\)\)\)\) }, {0, 0, u}]

The output gives an syntax error that

D[" cannot be followed by ",\!\(\*SubscriptBox[\(\[PartialD]\), \(y\)]\(\(,\)\*SubscriptBox[\(\[PartialD]\), \(z\)]\)\),x]
POSTED BY: Nomsa Ledwaba
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract