Skip to main content

Module vector

Module vector 

Source
Expand description

The Vector trait, for what every vector type has in common.

Traits§

SelectCoordinates
Selects coordinates of a vector by index: the result’s element $j$ is the original’s element indices[j].
SelectCoordinatesAssign
Selects coordinates of a vector by index, in place: afterwards, element $j$ of the vector is what element indices[j] was before.
Vector
What every vector type has in common: a vector of a fixed dimension, stored as its elements in order.