Vec.this

Constructs a vector from an array of elements.

  1. this(T[size] elements)
    struct Vec(T, size_t size)
    this
    (
    T[size] elements
    )
    if (
    isNumeric!T &&
    size > 0
    )
  2. this(T[] elements)
  3. this(T value)
  4. this(Vec!(T, size) other)

Parameters

elements T[size]

The elements to put in the vector.

Meta