Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
functions [2015/12/14 10:35] nikolaj |
functions [2015/12/16 13:14] nikolaj |
||
---|---|---|---|
Line 5: | Line 5: | ||
----- | ----- | ||
=== Discussion === | === Discussion === | ||
+ | Caution 1: Man function definitions are implicit, sometimes secretly so. E.g. defining | ||
- | Caution: In the function Definition, the domain of the function, as well as variables in context, are stated quite broadly - it must be checked if the to-be-function would return a value for any given input. | + | $f(x):=\sum_{n=0}^\infty\frac{(-1)^{3n}}{n!}z^n$ |
+ | |||
+ | is defining | ||
+ | |||
+ | $f(x):=\lim_{m\to\infty}\sum_{n=0}^m\frac{(-1)^{3n}}{n!}z^n$ | ||
+ | |||
+ | and a Limit definition is always a Task to find said limit. | ||
+ | |||
+ | Caution 2: In the function Definition, the domain of the function, as well as variables in context, are stated quite broadly - it must be checked if the to-be-function would return a value for any given input. | ||
In that sense, "Functions" really is "Partial functions", a priori, although I try to state good valid domains on AoC. | In that sense, "Functions" really is "Partial functions", a priori, although I try to state good valid domains on AoC. |