Scalar (computing)
From Wikipedia, the free encyclopedia
| This article does not cite any references or sources. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed. (December 2009) |
See the scalar disambiguation page for an account of the broader concept used in physics and mathematics.
In computing, a scalar is any non-composite value.
Generally, all basic primitive data types are considered scalar:
- The boolean data type (
bool) - Numeric types (
int, the floating point typesfloatanddouble) - Character types (
charandstring)
The origin of the term "scalar" in computing dates back to the 1970-80s with the scalar processor, distinguishing it from a vector processor.
[edit] See also
| This algorithms or data structures-related article is a stub. You can help Wikipedia by expanding it. |