Vec.mul

Multiplies this vector by another vector, element-wise.

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

Parameters

other Vec!(V, size)

The other vector to multiply with.

Return Value

Type: Vec!(T, size)

A reference to this vector, for method chaining.

Meta