Assign Taylor | m t. 0 0 0 |
The function h=: u`v t. is equivalent to u
except that the function produced by h t. is v .
For example, an explicit definition (such as the definition
of exp below) has no associated Taylor series,
but one can be assigned.
|
y=: i. 5 ^y 1 2.71828 7.38906 20.0855 54.5982 ^ t. y 1 1 0.5 0.1666667 0.04166667 exp=: 3 : '^ y' exp y 1 2.71828 7.38906 20.0855 54.5982 exp t. y |domain error | exp t.y e=: exp`(%@!) t. e y 1 2.71828 7.38906 20.0855 54.5982 e t. y 1 1 0.5 0.1666667 0.04166667 %@e t. y 1 _1 0.5 _0.1666667 0.04166667 %@^ t. y 1 _1 0.5 _0.1666667 0.04166667