[]
        
(Showing Draft Content)

C1.Framework.Mathematics.Vector-1.op_Subtraction

operator - Operator

operator -(Vector<T>, Vector<T>)

Defines the binary - operator for vector.

Declaration
public static Vector<T> operator -(Vector<T> left, Vector<T> right)
Parameters
Type Name Description
Vector<T> left

A Vector indicates the left operand.

Vector<T> right

A Vector indicates the right operand.

Returns
Type Description
Vector<T>

A Vector that is the binary minus result of the left and right operands.

Remarks

(n1, n2, n3) - (m1, m2, m3) = (n1 - m1, n2 - m2, n3 - m3)