Vector256<T>.Multiply Operator

Definition

Overloads

Multiply(Vector256<T>, Vector256<T>)

Multiplies two vectors to compute their element-wise product.

Multiply(Vector256<T>, T)

Multiplies a vector by a scalar to compute their product.

Multiply(T, Vector256<T>)

Multiplies a vector by a scalar to compute their product.

Multiply(Vector256<T>, Vector256<T>)

Source:
Vector256_1.cs
Source:
Vector256_1.cs
Source:
Vector256_1.cs

Multiplies two vectors to compute their element-wise product.

C#
public static System.Runtime.Intrinsics.Vector256<T> operator *(System.Runtime.Intrinsics.Vector256<T> left, System.Runtime.Intrinsics.Vector256<T> right);

Parameters

left
Vector256<T>

The vector to multiply with right.

right
Vector256<T>

The vector to multiply with left.

Returns

The element-wise product of left and right.

Exceptions

The type of the vector (T) is not supported.

Applies to

.NET 9 and other versions
Product Versions
.NET 7, 8, 9

Multiply(Vector256<T>, T)

Source:
Vector256_1.cs
Source:
Vector256_1.cs
Source:
Vector256_1.cs

Multiplies a vector by a scalar to compute their product.

C#
public static System.Runtime.Intrinsics.Vector256<T> operator *(System.Runtime.Intrinsics.Vector256<T> left, T right);

Parameters

left
Vector256<T>

The vector to multiply with right.

right
T

The scalar to multiply with left.

Returns

The product of left and right.

Exceptions

The type of the vector (T) is not supported.

Applies to

.NET 9 and other versions
Product Versions
.NET 7, 8, 9

Multiply(T, Vector256<T>)

Source:
Vector256_1.cs
Source:
Vector256_1.cs
Source:
Vector256_1.cs

Multiplies a vector by a scalar to compute their product.

C#
public static System.Runtime.Intrinsics.Vector256<T> operator *(T left, System.Runtime.Intrinsics.Vector256<T> right);

Parameters

left
T

The scalar to multiply with right.

right
Vector256<T>

The vector to multiply with left.

Returns

The product of left and right.

Exceptions

The type of the vector (T) is not supported.

Applies to

.NET 9 and other versions
Product Versions
.NET 7, 8, 9