Message Boards Message Boards

0
|
5772 Views
|
3 Replies
|
6 Total Likes
View groups...
Share
Share this post:

Compute derivatives w.r.t. subscripted variables

Posted 3 years ago

I have an expression involving subscripted variables, $x_i$ (and constants, $b_k,c_k,d_k$). I would like to compute the Jacobian but the most straightforward application of the D operator, $D[f,x[k]]$ always returns 0. I want to compute $\partial^2 f/\partial{x_i}\partial{x_j}$. Any help greatly appreciated. Thanks -- Len B

POSTED BY: Len Berman
3 Replies

Sounds like a neat idea, I must have forgotten about the notation package, maybe because it was imho not well documented. Not well enough so that I could understand.

POSTED BY: Raspi Rascal
Posted 3 years ago

Len:

Check out the docs for Subscript[].

I believe your issue is that b[t] (and similar expressions) is being interpreted as a function call, not a subscripted variable.

Have a great 2021.

POSTED BY: Mike Besso
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