I am having difficulties figuring out how to write the full expansion of taylor's formula in 3 variables (x,y,t), for degrees 2, 3 and even higher degree terms.

It is for a master thesis project in computer vision.

The remainder term(s) is not necessary, but would be nice to have as well.

This is taylor's formula expansion for f(x) containing up to first degree terms only (with remainder ):

And, if we exchange some variables: and , we have:

Using this notation instead, this is my taylor's formula expansion for f(x,y,t) up to first degree terms (partial derivatives in x, y, and t):

Now I need the expansion in all three variables, for higher degrees (second, third, perhaps four) How to do this? I have found functions for this, but these are using multi-index vectors for indexing, and unfortunately I have been unable to wrap my head around such notation.

As a side note, I currently expect mixed/crossed partials to be equal for function f(x,y,t) (which I do not know analytically).

Thanks,

Intel4004