Skip to content

dlib.math.vector

Timur Gafarov edited this page Dec 16, 2015 · 4 revisions

dlib.math.vector

Implements algebraic vectors of Euclidean space. The size (dimensions) 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