Vector<T>.Multiply Operator

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

Multiply(T, Vector<T>) Multiplies a vector by a constant.
Multiply(Vector<T>, T) Multiplies a vector by a constant.

Vector<T>.Multiply(T, Vector<T>)

Multiplies a vector by a constant.
C#
public static Vector<T> operator *(
	T factor,
	Vector<T> vector
)

Parameters

factor  T
A number.
vector  Vector<T>
A vector.

Return Value

Vector<T>
A vector whose elements are the corresponding elements of vector multiplied by factor.

Exceptions

ArgumentNullExceptionvector is null

Vector<T>.Multiply(Vector<T>, T)

Multiplies a vector by a constant.
C#
public static Vector<T> operator *(
	Vector<T> vector,
	T factor
)

Parameters

vector  Vector<T>
A vector.
factor  T
A number.

Return Value

Vector<T>
A vector whose elements are the corresponding elements of vector multiplied by factor.

Exceptions

ArgumentNullExceptionvector is null

See Also