Table of Contents

Method CreateByBits

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

CreateByBits<T>(long)

Creates a Vector512<T> whose components are of a specified integer bits (创建一个 Vector512<T>,其元素为指定的整数位).

public static Vector512<T> CreateByBits<T>(long src) where T : struct

Parameters

src long

Source value (源值).

Returns

Vector512<T>

A new Vector512<T> with all elements initialized to value (一个新的 Vector512<T>,其中所有元素已初始化为 src ).

Type Parameters

T

The vector element type (向量中的元素的类型).