Skip to content

dlib.math.vector

Timur Gafarov edited this page Aug 1, 2014 · 4 revisions

Implements algebraic vectors of Euclidean space. The size is defined at compile time and doesn't change. Components are stored internally as a static array, so you can safely pass around pointers to the actual data. This module is best suited for small-sized vectors and optimized for real-time usage.

struct Vector

Vector struct template.

Template parameters:

  • T - element type. Can be real or integral type (float, double, int, etc.) Note that some vector functionality is not available for integral specializations.
  • size - number of elements.

Properties:

TODO

Constructors:

TODO

Methods:

TODO

Free functions

TODO

Clone this wiki locally