v_prod#

static GeometryOperators.v_prod(s, v)[source]#

Evaluate the product between a scalar value and a vector.

Parameters:
sfloat

Scalar value.

vList

List of values for the vector in the format [v1, v2,..., vn]. The vector can be any length.

Returns:
List

List of values for the result vector. This list is the same length as the list for the input vector.