Vec.opBinaryRight

Right-hand binary operator implementation. See opBinary above for more info.

struct Vec(T, size_t size)
const @nogc
Vec!(T, size)
opBinaryRight
(
string op
V
)
()
if (
isNumeric!V
)
if (
isNumeric!T &&
size > 0
)

Parameters

scalar V

The scalar value to apply to each element of the vector.

Return Value

Type: Vec!(T, size)

A new vector that is the result of applying the scalar value to this vector's elements, using the given operation.

Meta