Vec.opOpAssign

Subtracts a vector from this one.

  1. MY_TYPE opOpAssign(Vec!(V, size) other)
  2. MY_TYPE opOpAssign(V scalar)
  3. MY_TYPE opOpAssign(Vec!(V, size) other)
    struct Vec(T, size_t size)
    ref @nogc
    MY_TYPE
    opOpAssign
    (
    string op : "-"
    V
    )
    (
    Vec!(V, size) other
    )
    if (
    isNumeric!V
    )
    if (
    isNumeric!T &&
    size > 0
    )
  4. MY_TYPE opOpAssign(V factor)
  5. MY_TYPE opOpAssign(V factor)

Parameters

other Vec!(V, size)

The other vector.

Return Value

Type: MY_TYPE

A reference to this vector.

Meta