[luatex] Lua is removing hyperbolic functions
Otared Kavian
otared at gmail.com
Sat Jul 12 12:01:28 CEST 2014
On 09 Jul 2014, at 10:39, Hans Hagen <pragma at wxs.nl> wrote:
> On 7/9/2014 8:20 AM, Dirk Laurie wrote:
> […]
>> If any LuaTeX user can give good reasons why the hyperbolic
>> functions should stay, now is the time to air them on the
>> Lua mailing list (http://lua.org).
>
> If really needed we can always add the more extensive math library (and the depricated functions can be written in Lua; in a TeX run one doesn't need extreme math performance anyway). The only reason I can think of to keep them is that users expect them (any decent calculator has them) and keeping them has neglectable overhead. Getting rid of the power ones makes sense.
In my opinion it is a good idea to keep the hyperbolic functions, as one may use them in some situations where one creates matrices with random coefficients, but one wants them to satisfy certain properties. Think of something like
$$\pamtrix{ \cosh(a) & \sinh(a) \cr \sinh(a) & \cosh(a) \cr} $$
where $a$ is number calculated by LuaTeX.
The same remark applies to MetaPost where one may need to draw a curve which involves such functions.
I don’t know how much work it takes to keep such functions, or the power function $a^b$ (which is $\exp(b*\log(a))$), but if this is not a big deal for you, it would be nice to keep them all.
Best regards: OK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/luatex/attachments/20140712/0ea05ec0/attachment.html>
More information about the luatex
mailing list