v_prod#

static GeometryOperators.v_prod(s: float, v: list) list#

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.

Examples

>>> from ansys.aedt.core.modeler.geometry_operators import GeometryOperators
>>> obj = GeometryOperators()
>>> obj.v_prod(s=2, v=[0, 1, 0])