Basic types aka scalars
The basic non-vector types are:
- bool: conditional type, values may be either
true
or false
- int: a signed, two's complement, 32-bit integer
- uint: an unsigned 32-bit integer
- float: an IEEE-754 single-precision floating point number
- double: an IEEE-754 double-precision floating-point number
Vector
Each of these scalars can have 2, 3 and 4 component vector equivalents
I facepalmed for not realizing 'scalar' referred to scaling
Vectors, what even are they? | Essence of linear algebra, chapter 1
There are 3 understandings of what a vector is.
- A phsysics student learns its that vectors are arrows pointing in space. What defines a given vector is its length and the direction its pointing in.
- The computer science student learns that vectors are ordered lists of numbers. In this case vector is just a fancy word for list.
- The mathmatician understand both definitions.