في علم الحاسوب، الحساب ابتداءا من الصفر هو أن يُبتدأ الحساب لمتتالية ما أو جدول من الصفر بدلا من أن يُبتدأ من الواحد. على سبيل المثال، في لغة البرمجة سي، المؤشر الذي يمكن من الوصول إلى مختلف عناصر جدول ما أحادي البعد، ينطلق من الصفر وليس من الواحد. (ar)
Zero-based numbering is a way of numbering in which the initial element of a sequence is assigned the index 0, rather than the index 1 as is typical in everyday non-mathematical or non-programming circumstances. Under zero-based numbering, the initial element is sometimes termed the zeroth element, rather than the first element; zeroth is a coined ordinal number corresponding to the number zero. In some cases, an object or value that does not (originally) belong to a given sequence, but which could be naturally placed before its initial element, may be termed the zeroth element. There is not wide agreement regarding the correctness of using zero as an ordinal (nor regarding the use of the term zeroth), as it creates ambiguity for all subsequent elements of the sequence when lacking context. Numbering sequences starting at 0 is quite common in mathematics notation, in particular in combinatorics, though programming languages for mathematics usually index from 1. In computer science, array indices usually start at 0 in modern programming languages, so computer programmers might use zeroth in situations where others might use first, and so forth. In some mathematical contexts, zero-based numbering can be used without confusion, when ordinal forms have well established meaning with an obvious candidate to come before first; for instance, a zeroth derivative of a function is the function itself, obtained by differentiating zero times. Such usage corresponds to naming an element not properly belonging to the sequence but preceding it: the zeroth derivative is not really a derivative at all. However, just as the first derivative precedes the second derivative, so also does the zeroth derivative (or the original function itself) precede the first derivative. (en)
Nollte är det ordningstal som motsvarar grundtalet noll. Begreppet "nollte" används bland annat när man i efterhand lagt till något i början av en numrerad lista och är i svenska språket dokumenterat sedan 1924. Med ordningstalet nollte, eller index noll, blir punkt fem den sjätte punkten vilket kan upplevas ologiskt. Det följer emellertid samma princip som uttrycket ”fem år gammal, på det sjätte”. (sv)
في علم الحاسوب، الحساب ابتداءا من الصفر هو أن يُبتدأ الحساب لمتتالية ما أو جدول من الصفر بدلا من أن يُبتدأ من الواحد. على سبيل المثال، في لغة البرمجة سي، المؤشر الذي يمكن من الوصول إلى مختلف عناصر جدول ما أحادي البعد، ينطلق من الصفر وليس من الواحد. (ar)
Nollte är det ordningstal som motsvarar grundtalet noll. Begreppet "nollte" används bland annat när man i efterhand lagt till något i början av en numrerad lista och är i svenska språket dokumenterat sedan 1924. Med ordningstalet nollte, eller index noll, blir punkt fem den sjätte punkten vilket kan upplevas ologiskt. Det följer emellertid samma princip som uttrycket ”fem år gammal, på det sjätte”. (sv)
Zero-based numbering is a way of numbering in which the initial element of a sequence is assigned the index 0, rather than the index 1 as is typical in everyday non-mathematical or non-programming circumstances. Under zero-based numbering, the initial element is sometimes termed the zeroth element, rather than the first element; zeroth is a coined ordinal number corresponding to the number zero. In some cases, an object or value that does not (originally) belong to a given sequence, but which could be naturally placed before its initial element, may be termed the zeroth element. There is not wide agreement regarding the correctness of using zero as an ordinal (nor regarding the use of the term zeroth), as it creates ambiguity for all subsequent elements of the sequence when lacking context (en)