Vec.mul

Multiplies this vector by a factor, element-wise.

  1. MY_TYPE mul(V factor)
    struct Vec(T, size_t size)
    ref @nogc
    MY_TYPE
    mul
    (
    V
    )
    ()
    if (
    isNumeric!V
    )
    if (
    isNumeric!T &&
    size > 0
    )
  2. MY_TYPE mul(Vec!(V, size) other)

Parameters

factor V

The factor to multiply by.

Return Value

Type: MY_TYPE

A reference to this vector, for method chaining.

Meta