In mathematics, more specifically in linear algebra, a scalar is an element of a field which is used to define a vector space through the operation of scalar multiplication: a vector (denoted v) multiplied by a scalar (denoted a) produces another vector (av). Real numbers and complex numbers may be used as scalars in real and complex vector spaces, respectively. A scalar product operation – not to be confused with scalar multiplication – may be defined on a vector space, allowing two vectors to be multiplied in the defined way to produce a scalar. A vector space equipped with a scalar product is called an inner product space.
A scalar may also have other roles in terms of vector components, in normed vector spaces, in modules, and in transformations. A quantity described by multiple scalars, such as having both direction and magnitude, is called a vector. The term scalar is also sometimes used informally to mean a vector, matrix, tensor, or other, usually, "compound" value that is actually reduced to a single component. Thus, for example, the product of a 1 × n matrix and an n × 1 matrix, which is formally a 1 × 1 matrix, is often said to be a scalar. The real component of a quaternion is also called its scalar part.
The term scalar matrix is used to denote a matrix of the form kI where k is a scalar and I is the identity matrix.
Variables: Python Variable, Variable (computer science), Unassigned Variables, Variability, Mutable-Mutability, Immutable-Immutability, Constant-Constancy, Named object, Variable Declaration, Variable Definition, Control Variable (Programming), Non-Local Variable, Temporary Variable, Variable Interpolation, Scalar (Mathematics), Variable (Mathematics), Variable Topics. (navbar_variables - see also navbar_math, navbar_programming)
Cloud Monk is Retired ( for now). Buddha with you. © 2025 and Beginningless Time - Present Moment - Three Times: The Buddhas or Fair Use. Disclaimers
SYI LU SENG E MU CHYWE YE. NAN. WEI LA YE. WEI LA YE. SA WA HE.