[FFmpeg-devel] [PATCH] eval: Add taylor series evaluation support.

Nicolas George nicolas.george at normalesup.org
Sat Feb 25 00:26:43 CET 2012


Le septidi 7 ventôse, an CCXX, Stefano Sabatini a écrit :
> Couldn't find the meaning of "LD(0)-th" on the Internet, I'll push a
> more explicit variant (together with minor typo fixes) if you can
> explain.

The eval system has the ld/st functions pair: st(5,42) is equivalent to
var[5]=42 and st(5) is equivalent to var[5] (as a rvalue).

So what it means is that the argument of taylor is toe formula to compute
the n-th derivative, except you can not use "n" as a name but need to use
"ld(0)".

Note: I am currently in the process of rewriting completely the expression
parser and evaluator. One of the benefits of the code I intend to propose is
to be able to write "a" instead of "ld(0)", "b" instead of "ld(1)", etc.,
a=... instead of "st(0,...)", etc. (unless, of course, one of the names is
shadowed by a one-letter constant name).

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120225/e124691f/attachment.asc>


More information about the ffmpeg-devel mailing list