Module optmath

Simple math helper functions

Functions

Math.tmin (tab, func) Returns the minimum element of a table.
Math.tmax (tab, func) Returns the maximum element of a table.


Functions

Math.tmin (tab, func)
Returns the minimum element of a table. The optional argument func specifies a one-argument ordering function.

Parameters:

Returns:

    dynamic minimum element of a table
Math.tmax (tab, func)
Returns the maximum element of a table. The optional argument func specifies a one-argument ordering function.

Parameters:

Returns:

    dynamic maximum element of a table
generated by LDoc 1.4.6 Last updated 2017-10-08 14:57:40