Processing math: 100%
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

derivative of multivariate equation with nested sum

Hello,

I often have to deal with functions like the one below, take derivatives and so on. I would really like to know if I could use a CAS like SAGE to do this tedious and error prone calculations but I couldn't find a similar kind of function in the docs and tutorials and could use your advice.

My questions are:

  • how can I write this function in SAGE ?

for xRp;vRp×k
y(x,v):=pi=1pj>ikf=1vi,fvj,fxixj=pi=1pj>iv:,i,v;,jxixj

  • calculate the partial derivatives y(x,v)vi,j ?
  • or the the derivative with respect to the column-vector y(x,v)v:,i ?

Or is there a better way to work with this kind of function in SAGE?

Thanks

click to hide/show revision 2
No.2 Revision

derivative of multivariate equation with nested sum

Hello,

I often have to deal with functions like the one below, take derivatives and so on. I would really like to know if I could use a CAS like SAGE to do this tedious and error prone calculations but I couldn't find a similar kind of function in the docs and tutorials and could use your advice. tutorials.

My questions are:

  • how can I write this function in SAGE ?

for xRp;vRp×k
y(x,v):=pi=1pj>ikf=1vi,fvj,fxixj=pi=1pj>iv:,i,v;,jxixj

  • calculate the partial derivatives y(x,v)vi,j ?
  • or the the derivative with respect to the column-vector y(x,v)v:,i ?

Or is there a better way to work with this kind of function in SAGE?

Thanks

click to hide/show revision 3
No.3 Revision

derivative of multivariate equation with nested sum

Hello,

I often have to deal with functions like the one below, take derivatives and so on. I would really like to know if I could use a CAS like SAGE to do this tedious and error prone calculations but I couldn't find a similar kind of function in the docs and tutorials.

My questions are:

  • how can I write this function in SAGE ?

for xRp;vRp×k
y(x,v):=pi=1pj>ikf=1vi,fvj,fxixj=pi=1pj>iv:,i,v;,jxixj

  • calculate the partial derivatives y(x,v)vi,j ?
  • or the the derivative with respect to the column-vector y(x,v)v:,i ?

Or is there a better way to work with this kind of function in SAGE?SAGE? (the function above is only an example)

Thanks