{"id":127,"date":"2006-09-16T12:03:25","date_gmt":"2006-09-16T16:03:25","guid":{"rendered":"http:\/\/www.rakkar.org\/blog\/?p=127"},"modified":"2006-09-16T12:03:25","modified_gmt":"2006-09-16T16:03:25","slug":"minor-annoyance-of-the-day-vector","status":"publish","type":"post","link":"https:\/\/rakkar.org\/blog\/index.php\/2006\/09\/16\/minor-annoyance-of-the-day-vector\/","title":{"rendered":"Minor annoyance of the day: vector"},"content":{"rendered":"<p>\t\t\t\tWhen I was in college I would occasionally overhear a classmate refer to a vector when talking about a homework project.  For years I was mildly puzzled by this.  My programming classes didn&#8217;t have anything to do with linear algebra.  It made no sense, but as I only heard it rarely I didn&#8217;t follow up.<\/p>\n<p>Later on I found out that stl calls a dynamic length array a vector.  What the heck?  Other than trying to sound pretentious, I can&#8217;t think of any grounds for or reason to relate the two.  A vector is a &#8220;quantity completely specified by a magnitude and a direction.&#8221;  A dynamic array is an set which can grow in size.<\/p>\n<p>The best term to use is a List (which is what I use in RakNet).\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When I was in college I would occasionally overhear a classmate refer to a vector when talking about a homework project. For years I was mildly puzzled by this. My programming classes didn&#8217;t have anything to do with linear algebra. It made no sense, but as I only heard it rarely I didn&#8217;t follow up. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/posts\/127"}],"collection":[{"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=127"}],"version-history":[{"count":0,"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/posts\/127\/revisions"}],"wp:attachment":[{"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=127"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=127"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=127"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}