Elemental Procedures

An elemental procedure is a user-defined procedure defined on scalar arguments that may be called with array arguments. An elemental procedure is pure unless you specify that it is impure. For more information, see PURE, ELEMENTAL, and IMPURE.