# overload

To assign another meaning to a symbol that already has a meaning, or a new operation to an operator that is already assigned to another operation. Perhaps the quintessential example of overloading in mathematics is the case of the Greek letter $\pi $. In geometry^{} $\pi $ refers to the ratio between the perimeter^{} and the diameter^{} on a circle, while in number theory^{} $\pi (x)$ refers to the prime counting function, and not the multiplication of $x$ by the circle perimeter/diameter ratio.

In some cases it is possible to resolve meaning purely from context. For example, if $i$ occurs under a $\mathrm{\Sigma}$ or a $\mathrm{\Pi}$ it is most likely just a generic iterator. Absent those Greek letters, it could be the imaginary unit^{}, $\sqrt{-1}$.

The + operator is often overloaded to be both the addition of numbers operator and the string concatenation operator.

In computer programming languages, overloading is one of the kinds of ad-hoc polymorphism, and it is argued that this helps reduce the kind of notational clutter that might ensue if every operation had to have an operator specifically designed for its type.

Title | overload |
---|---|

Canonical name | Overload |

Date of creation | 2013-03-22 16:03:04 |

Last modified on | 2013-03-22 16:03:04 |

Owner | Mravinci (12996) |

Last modified by | Mravinci (12996) |

Numerical id | 6 |

Author | Mravinci (12996) |

Entry type | Definition |

Classification | msc 68N15 |

Classification | msc 00A99 |

Synonym | overloaded |