A Mathics/function is a w:computer algorithm that takes an Mathics/object in a class algebra and returns another Mathics/object in a class algebra.

Also see edit

w:Domain of a function and w:Range (mathematics).