You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
doc/eval: fix/extend documentation for taylor() function
This commit is contained in:
@@ -163,13 +163,20 @@ evaluation of @var{y}, return 0 otherwise.
|
|||||||
Evaluate @var{x}, and if the result is zero return the evaluation
|
Evaluate @var{x}, and if the result is zero return the evaluation
|
||||||
result of @var{y}, otherwise the evaluation result of @var{z}.
|
result of @var{y}, otherwise the evaluation result of @var{z}.
|
||||||
|
|
||||||
@item taylor(expr, x) taylor(expr, x, id)
|
@item taylor(expr, x)
|
||||||
Evaluate a taylor series at x.
|
@item taylor(expr, x, id)
|
||||||
expr represents the LD(id)-th derivates of f(x) at 0. If id is not specified
|
Evaluate a Taylor series at @var{x}, given an expression representing
|
||||||
then 0 is assumed.
|
the @code{ld(id)}-th derivative of a function at 0.
|
||||||
note, when you have the derivatives at y instead of 0
|
|
||||||
taylor(expr, x-y) can be used
|
When the series does not converge the result is undefined.
|
||||||
When the series does not converge the results are undefined.
|
|
||||||
|
@var{ld(id)} is used to represent the derivative order in @var{expr},
|
||||||
|
which means that the given expression will be evaluated multiple times
|
||||||
|
with various input values that the expression can access through
|
||||||
|
@code{ld(id)}. If @var{id} is not specified then 0 is assumed.
|
||||||
|
|
||||||
|
Note, when you have the derivatives at y instead of 0,
|
||||||
|
@code{taylor(expr, x-y)} can be used.
|
||||||
|
|
||||||
@item time(0)
|
@item time(0)
|
||||||
Return the current (wallclock) time in seconds.
|
Return the current (wallclock) time in seconds.
|
||||||
|
Reference in New Issue
Block a user