Changes

Jump to navigation Jump to search
9 bytes added ,  21:58, June 24, 2008
no edit summary
Line 9: Line 9:  
Vectors in math and physics are typically graphed as arrows pointing in the direction of a quantity such as velocity. The length of the arrow shows its magnitude. This makes it easy to add vector quantities (you line up the tail of one arrow with the point of the other).  
 
Vectors in math and physics are typically graphed as arrows pointing in the direction of a quantity such as velocity. The length of the arrow shows its magnitude. This makes it easy to add vector quantities (you line up the tail of one arrow with the point of the other).  
 
----
 
----
In [[computer]] science, '''vector''' has two meanings: that of mathematics (as described above), and as a synonym of [[array]].  The [[C++]] [[programming language]] [[Standard Template Library]] uses the term in the second sense. The term is used in both senses in the domain of 3D graphics programming.
+
In [[computer]] science, '''vector''' has many meanings, in addition to the mathematical one given above:
 
+
*A data structure which allows random access to its contents but which can also be extended. Typical of this is the [[C++]] [[programming language]] [[Standard Template Library]] use.
In computer hardware, '''vector''' indicates an [[array]] of numeric values stored in memory.  For instance, a '''vector processor''' is a processor which specializes in performing operations on these arrays of numbers.
+
*A ''vector processor'' carries out operations on many elements of an array at the same time
 +
*''Vector graphics'' are a form of graphics defined by line and shape primitives, compared with ''bitmap graphics'' where they are defined by image data.
    
== Sources ==
 
== Sources ==
282

edits

Navigation menu