[R] taylor expansions with real vectors
bilel.sanhaji at univ-amu.fr
Thu Jul 19 03:02:27 CEST 2012
Leave the Taylor expansion aside, how is it possible to compute with [R]:
f(e) = e1 + e2 #for r = 1
+ 1/2!*e1^2 + 1/2!*e2^2 + 1/2!*e1*e2 #for r = 2, excluding e2*e1
+ 1/3!*e1^3 + 1/3!*e1^2*e2 + 1/3!*e2^2*e1 + 1/3!*e2^3 #for r = 3, excluding
e2*e1^2 and e1*e2^2
+ ... #for r = k
In other words, I am trying to figure out how to compute all the possible
combinations as exposed above.
View this message in context: http://r.789695.n4.nabble.com/Re-taylor-expansions-with-real-vectors-tp4636948p4636978.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help