Friday, April 07, 2006

Scalar

According to Wikipedia:

In mathematics, physics, and computing, a scalar is a quantity usually characterized by a single numeric value or not involving the concept of direction. The term is often used in contrast to entities that are "composites" of many values, like vector, matrix, tensor, sequence, etc.. The first recorded usage of the term was by W. R. Hamilton in 1846.
...
In computing, a scalar is a variable or field that can hold only one value at a time; as opposed to composite variables like array, list, record, etc.. In some contexts, a scalar value may be understood to be numeric. A scalar data type is the type of a scalar variable. For example, char, int, float, and double are the most common scalar data types in the C programming language.

0 Comments:

Post a Comment

<< Home