Vec.mul

Multiplies this vector by a factor, element-wise.

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

Parameters

factor V

The factor to multiply by.

Return Value

Type: Vec!(T, size)

A reference to this vector, for method chaining.

Meta