Vector512.Subtract<T>(Vector512<T>, Vector512<T>) Method

Definition

Subtracts two vectors to compute their difference.

C#
public static System.Runtime.Intrinsics.Vector512<T> Subtract<T>(System.Runtime.Intrinsics.Vector512<T> left, System.Runtime.Intrinsics.Vector512<T> right);

Type Parameters

T

The type of the elements in the vector.

Parameters

left
Vector512<T>

The vector from which right will be subtracted.

right
Vector512<T>

The vector to subtract from left.

Returns

The difference of left and right.

Exceptions

The type of left and right (T) is not supported.

Applies to

Product Versions
.NET 8, 9, 10