Table of Contents

Method Count

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

Count<T>()

Returns the number of elements stored in the vector (返回存储在向量中的元素数量).

public static int Count<T>() where T : struct

Returns

int

The number of elements stored in the vector (存储在向量中的元素数量).

Type Parameters

T

The type of the input vector element (输入向量元素的类型).