Method AsVector256A
- Namespace
- Zyl.VectorTraits
- Assembly
- VectorTraits.dll
AsVector256A<T>(Vector<T>)
Reinterprets a Vector<T> as a new Vector256<T> (将 Vector<T> 重新解释为新的 Vector256<T>). It supports ExType, so there is no element type check (它支持 ExType, 故没有元素类型检查).
[Obsolete("Only for test.")]
public static Vector256<T> AsVector256A<T>(Vector<T> value) where T : struct
Parameters
value
Vector<T>The vector to reinterpret (要重新解释的向量).
Returns
- Vector256<T>
value reinterpreted as a new Vector256<T> (重新解释后新的 Vector256<T>)值.
Type Parameters
T
The vector element type (向量中的元素的类型).
- See Also
-
AsVector256<T>(Vector<T>)