请输入您要查询的字词:

 

单词 Overload
释义

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 π. In geometryMathworldPlanetmathPlanetmath π refers to the ratio between the perimeterPlanetmathPlanetmath and the diameterMathworldPlanetmath on a circle, while in number theoryMathworldPlanetmath π(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 Σ or a Π it is most likely just a generic iterator. Absent those Greek letters, it could be the imaginary unitMathworldPlanetmath, -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.

随便看

 

数学辞典收录了18232条数学词条,基本涵盖了常用数学知识及数学英语单词词组的翻译及用法,是数学学习的有利工具。

 

Copyright © 2000-2023 Newdu.com.com All Rights Reserved
更新时间:2025/5/4 1:00:35