Why is a C++ Vector called a Vector?

后端 未结 16 2373
情话喂你
情话喂你 2020-12-04 07:42

The question\'s pretty self-explanatory really. I know vaguely about vectors in maths, but I don\'t really see the link to C++ vectors.

16条回答
  •  情深已故
    2020-12-04 07:57

    Wonders that parametrisation on types does to names..

    here a column gets blasted.. (view source for some server-side ASP.NET HTML encoding skills)

    or was it a row?

    Then again, thinking of it in MIMD or even SSE vector machine context, the name still sounds damn good.

提交回复
热议问题