Note 1: the origin is the vector consisting of all zeros - in whatever dimensionality. The dimensionality n can be anything: 1 or 37 or 10 million or whatever. Geometrically, a vector of dimensionality n can be interpreted as point in an n-dimensional space, or as a directed magnitude (running from the origin to that point).
a member of R^n (where R stands for the real numbers).
Operations defined on scalars include addition, multiplication, exponentiation, etc.Ī vector is an n-tuple (an ordered set) of numbers, e.g. The name 'scalar' derives from its role in scaling vectors.
COGS501 - Homework 1 part 1 - Matlab tour Vectors, matrices and basic operations on themĪ scalar is any real (later complex) number.