internal static bool IsSupported
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
return (typeof(T) == typeof(byte)) ||
}
}
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void ThrowIfUnsupportedType()
{
if (!IsSupported)
/// <typeparam name="U">The type of the vector the current instance should be reinterpreted as.</typeparam>
/// <returns>The current instance reinterpreted as a new <see cref="Vector128{U}" />.</returns>
/// <exception cref="NotSupportedException">The type of the current instance (<typeparamref name="T" />) or the type of the target (<typeparamref name="U" />) is not supported.</exception>
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
public Vector128<U> As<U>() where U : struct
{
ThrowIfUnsupportedType();
internal static bool IsSupported
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
return (typeof(T) == typeof(byte)) ||
}
}
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void ThrowIfUnsupportedType()
{
if (!IsSupported)
/// <typeparam name="U">The type of the vector the current instance should be reinterpreted as.</typeparam>
/// <returns>The current instance reinterpreted as a new <see cref="Vector256{U}" />.</returns>
/// <exception cref="NotSupportedException">The type of the current instance (<typeparamref name="T" />) or the type of the target (<typeparamref name="U" />) is not supported.</exception>
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
public Vector256<U> As<U>() where U : struct
{
ThrowIfUnsupportedType();
internal static bool IsSupported
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
return (typeof(T) == typeof(byte)) ||
}
}
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void ThrowIfUnsupportedType()
{
if (!IsSupported)
/// <typeparam name="U">The type of the vector the current instance should be reinterpreted as.</typeparam>
/// <returns>The current instance reinterpreted as a new <see cref="Vector64{U}" />.</returns>
/// <exception cref="NotSupportedException">The type of the current instance (<typeparamref name="T" />) or the type of the target (<typeparamref name="U" />) is not supported.</exception>
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
public Vector64<U> As<U>() where U : struct
{
ThrowIfUnsupportedType();