Muokkaa

Jaa


Vector<T>.Explicit Operator

Definition

Overloads

Explicit(Vector<T> to Vector<UIntPtr>)

Reinterprets the bits of a source vector into a vector of native-sized, unsigned integers.

Explicit(Vector<T> to Vector<UInt64>)

Reinterprets the bits of the specified vector into a vector of type UInt64.

Explicit(Vector<T> to Vector<UInt32>)

Reinterprets the bits of the specified vector into a vector of type UInt32.

Explicit(Vector<T> to Vector<UInt16>)

Reinterprets the bits of the specified vector into a vector of type UInt16.

Explicit(Vector<T> to Vector<Single>)

Reinterprets the bits of the specified vector into a vector of type Single.

Explicit(Vector<T> to Vector<SByte>)

Reinterprets the bits of the specified vector into a vector of type SByte.

Explicit(Vector<T> to Vector<Double>)

Reinterprets the bits of the specified vector into a vector of type Double.

Explicit(Vector<T> to Vector<Int64>)

Reinterprets the bits of the specified vector into a vector of type Int64.

Explicit(Vector<T> to Vector<Int32>)

Reinterprets the bits of the specified vector into a vector of type Int32.

Explicit(Vector<T> to Vector<Int16>)

Reinterprets the bits of the specified vector into a vector of type Int16.

Explicit(Vector<T> to Vector<IntPtr>)

Reinterprets the bits of a source vector into a vector of native-sized integers.

Explicit(Vector<T> to Vector<Byte>)

Reinterprets the bits of the specified vector into a vector of type Byte.

Explicit(Vector<T> to Vector<UIntPtr>)

Source:
Vector_1.cs
Source:
Vector_1.cs
Source:
Vector_1.cs

Important

This API is not CLS-compliant.

Reinterprets the bits of a source vector into a vector of native-sized, unsigned integers.

public:
 static explicit operator System::Numerics::Vector<UIntPtr>(System::Numerics::Vector<T> value);
[System.CLSCompliant(false)]
public static explicit operator System.Numerics.Vector<nuint> (System.Numerics.Vector<T> value);
[System.CLSCompliant(false)]
public static explicit operator System.Numerics.Vector<UIntPtr> (System.Numerics.Vector<T> value);
[<System.CLSCompliant(false)>]
static member op_Explicit : System.Numerics.Vector<'T (requires 'T : struct)> -> System.Numerics.Vector<unativeint>
[<System.CLSCompliant(false)>]
static member op_Explicit : System.Numerics.Vector<'T> -> System.Numerics.Vector<unativeint>
Public Shared Narrowing Operator CType (value As Vector(Of T)) As Vector(Of UIntPtr)

Parameters

value
Vector<T>

The vector to reinterpret.

Returns

Vector<UIntPtr>

Vector<nuint>

Vector<unativeint>

value reinterpreted as a new Vector<T>.

Attributes

Exceptions

The type of value (T) is not supported.

Applies to

Explicit(Vector<T> to Vector<UInt64>)

Source:
Vector_1.cs
Source:
Vector_1.cs
Source:
Vector_1.cs

Important

This API is not CLS-compliant.

Reinterprets the bits of the specified vector into a vector of type UInt64.

public:
 static explicit operator System::Numerics::Vector<System::UInt64>(System::Numerics::Vector<T> value);
[System.CLSCompliant(false)]
public static explicit operator System.Numerics.Vector<ulong> (System.Numerics.Vector<T> value);
[<System.CLSCompliant(false)>]
static member op_Explicit : System.Numerics.Vector<'T (requires 'T : struct)> -> System.Numerics.Vector<uint64>
[<System.CLSCompliant(false)>]
static member op_Explicit : System.Numerics.Vector<'T> -> System.Numerics.Vector<uint64>
Public Shared Narrowing Operator CType (value As Vector(Of T)) As Vector(Of ULong)

Parameters

value
Vector<T>

The vector to reinterpret.

Returns

The reinterpreted vector.

Attributes

Exceptions

.NET 5 and later: Type T is not supported.

Remarks

The Explicit operator defines a narrowing conversion; it requires a casting operator (in C#) or a conversion method (in Visual Basic).

Applies to

Explicit(Vector<T> to Vector<UInt32>)

Source:
Vector_1.cs
Source:
Vector_1.cs
Source:
Vector_1.cs

Important

This API is not CLS-compliant.

Reinterprets the bits of the specified vector into a vector of type UInt32.

public:
 static explicit operator System::Numerics::Vector<System::UInt32>(System::Numerics::Vector<T> value);
[System.CLSCompliant(false)]
public static explicit operator System.Numerics.Vector<uint> (System.Numerics.Vector<T> value);
[<System.CLSCompliant(false)>]
static member op_Explicit : System.Numerics.Vector<'T (requires 'T : struct)> -> System.Numerics.Vector<uint32>
[<System.CLSCompliant(false)>]
static member op_Explicit : System.Numerics.Vector<'T> -> System.Numerics.Vector<uint32>
Public Shared Narrowing Operator CType (value As Vector(Of T)) As Vector(Of UInteger)

Parameters

value
Vector<T>

The vector to reinterpret.

Returns

The reinterpreted vector.

Attributes

Exceptions

.NET 5 and later: Type T is not supported.

Remarks

The Explicit operator defines a narrowing conversion; it requires a casting operator (in C#) or a conversion method (in Visual Basic).

Applies to

Explicit(Vector<T> to Vector<UInt16>)

Source:
Vector_1.cs
Source:
Vector_1.cs
Source:
Vector_1.cs

Important

This API is not CLS-compliant.

Reinterprets the bits of the specified vector into a vector of type UInt16.

public:
 static explicit operator System::Numerics::Vector<System::UInt16>(System::Numerics::Vector<T> value);
[System.CLSCompliant(false)]
public static explicit operator System.Numerics.Vector<ushort> (System.Numerics.Vector<T> value);
[<System.CLSCompliant(false)>]
static member op_Explicit : System.Numerics.Vector<'T (requires 'T : struct)> -> System.Numerics.Vector<uint16>
[<System.CLSCompliant(false)>]
static member op_Explicit : System.Numerics.Vector<'T> -> System.Numerics.Vector<uint16>
Public Shared Narrowing Operator CType (value As Vector(Of T)) As Vector(Of UShort)

Parameters

value
Vector<T>

The vector to reinterpret.

Returns

The reinterpreted vector.

Attributes

Exceptions

.NET 5 and later: Type T is not supported.

Remarks

The Explicit operator defines a narrowing conversion; it requires a casting operator (in C#) or a conversion method (in Visual Basic).

Applies to

Explicit(Vector<T> to Vector<Single>)

Source:
Vector_1.cs
Source:
Vector_1.cs
Source:
Vector_1.cs

Reinterprets the bits of the specified vector into a vector of type Single.

public:
 static explicit operator System::Numerics::Vector<float>(System::Numerics::Vector<T> value);
public static explicit operator System.Numerics.Vector<float> (System.Numerics.Vector<T> value);
static member op_Explicit : System.Numerics.Vector<'T (requires 'T : struct)> -> System.Numerics.Vector<single>
static member op_Explicit : System.Numerics.Vector<'T> -> System.Numerics.Vector<single>
Public Shared Narrowing Operator CType (value As Vector(Of T)) As Vector(Of Single)

Parameters

value
Vector<T>

The vector to reinterpret.

Returns

The reinterpreted vector.

Exceptions

.NET 5 and later: Type T is not supported.

Remarks

The Explicit operator defines a narrowing conversion; it requires a casting operator (in C#) or a conversion method (in Visual Basic).

Applies to

Explicit(Vector<T> to Vector<SByte>)

Source:
Vector_1.cs
Source:
Vector_1.cs
Source:
Vector_1.cs

Important

This API is not CLS-compliant.

Reinterprets the bits of the specified vector into a vector of type SByte.

public:
 static explicit operator System::Numerics::Vector<System::SByte>(System::Numerics::Vector<T> value);
[System.CLSCompliant(false)]
public static explicit operator System.Numerics.Vector<sbyte> (System.Numerics.Vector<T> value);
[<System.CLSCompliant(false)>]
static member op_Explicit : System.Numerics.Vector<'T (requires 'T : struct)> -> System.Numerics.Vector<sbyte>
[<System.CLSCompliant(false)>]
static member op_Explicit : System.Numerics.Vector<'T> -> System.Numerics.Vector<sbyte>
Public Shared Narrowing Operator CType (value As Vector(Of T)) As Vector(Of SByte)

Parameters

value
Vector<T>

The vector to reinterpret.

Returns

The reinterpreted vector.

Attributes

Exceptions

.NET 5 and later: Type T is not supported.

Remarks

The Explicit operator defines a narrowing conversion; it requires a casting operator (in C#) or a conversion method (in Visual Basic).

Applies to

Explicit(Vector<T> to Vector<Double>)

Source:
Vector_1.cs
Source:
Vector_1.cs
Source:
Vector_1.cs

Reinterprets the bits of the specified vector into a vector of type Double.

public:
 static explicit operator System::Numerics::Vector<double>(System::Numerics::Vector<T> value);
public static explicit operator System.Numerics.Vector<double> (System.Numerics.Vector<T> value);
static member op_Explicit : System.Numerics.Vector<'T (requires 'T : struct)> -> System.Numerics.Vector<double>
static member op_Explicit : System.Numerics.Vector<'T> -> System.Numerics.Vector<double>
Public Shared Narrowing Operator CType (value As Vector(Of T)) As Vector(Of Double)

Parameters

value
Vector<T>

The vector to reinterpret.

Returns

The reinterpreted vector.

Exceptions

.NET 5 and later: Type T is not supported.

Remarks

The Explicit operator defines a narrowing conversion; it requires a casting operator (in C#) or a conversion method (in Visual Basic).

Applies to

Explicit(Vector<T> to Vector<Int64>)

Source:
Vector_1.cs
Source:
Vector_1.cs
Source:
Vector_1.cs

Reinterprets the bits of the specified vector into a vector of type Int64.

public:
 static explicit operator System::Numerics::Vector<long>(System::Numerics::Vector<T> value);
public static explicit operator System.Numerics.Vector<long> (System.Numerics.Vector<T> value);
static member op_Explicit : System.Numerics.Vector<'T (requires 'T : struct)> -> System.Numerics.Vector<int64>
static member op_Explicit : System.Numerics.Vector<'T> -> System.Numerics.Vector<int64>
Public Shared Narrowing Operator CType (value As Vector(Of T)) As Vector(Of Long)

Parameters

value
Vector<T>

The vector to reinterpret.

Returns

The reinterpreted vector.

Exceptions

.NET 5 and later: Type T is not supported.

Remarks

The Explicit operator defines a narrowing conversion; it requires a casting operator (in C#) or a conversion method (in Visual Basic).

Applies to

Explicit(Vector<T> to Vector<Int32>)

Source:
Vector_1.cs
Source:
Vector_1.cs
Source:
Vector_1.cs

Reinterprets the bits of the specified vector into a vector of type Int32.

public:
 static explicit operator System::Numerics::Vector<int>(System::Numerics::Vector<T> value);
public static explicit operator System.Numerics.Vector<int> (System.Numerics.Vector<T> value);
static member op_Explicit : System.Numerics.Vector<'T (requires 'T : struct)> -> System.Numerics.Vector<int>
static member op_Explicit : System.Numerics.Vector<'T> -> System.Numerics.Vector<int>
Public Shared Narrowing Operator CType (value As Vector(Of T)) As Vector(Of Integer)

Parameters

value
Vector<T>

The vector to reinterpret.

Returns

The reinterpreted vector.

Exceptions

.NET 5 and later: Type T is not supported.

Remarks

The Explicit operator defines a narrowing conversion; it requires a casting operator (in C#) or a conversion method (in Visual Basic).

Applies to

Explicit(Vector<T> to Vector<Int16>)

Source:
Vector_1.cs
Source:
Vector_1.cs
Source:
Vector_1.cs

Reinterprets the bits of the specified vector into a vector of type Int16.

public:
 static explicit operator System::Numerics::Vector<short>(System::Numerics::Vector<T> value);
public static explicit operator System.Numerics.Vector<short> (System.Numerics.Vector<T> value);
static member op_Explicit : System.Numerics.Vector<'T (requires 'T : struct)> -> System.Numerics.Vector<int16>
static member op_Explicit : System.Numerics.Vector<'T> -> System.Numerics.Vector<int16>
Public Shared Narrowing Operator CType (value As Vector(Of T)) As Vector(Of Short)

Parameters

value
Vector<T>

The vector to reinterpret.

Returns

The reinterpreted vector.

Exceptions

.NET 5 and later: Type T is not supported.

Remarks

The Explicit operator defines a narrowing conversion; it requires a casting operator (in C#) or a conversion method (in Visual Basic).

Applies to

Explicit(Vector<T> to Vector<IntPtr>)

Source:
Vector_1.cs
Source:
Vector_1.cs
Source:
Vector_1.cs

Reinterprets the bits of a source vector into a vector of native-sized integers.

public:
 static explicit operator System::Numerics::Vector<IntPtr>(System::Numerics::Vector<T> value);
public static explicit operator System.Numerics.Vector<nint> (System.Numerics.Vector<T> value);
public static explicit operator System.Numerics.Vector<IntPtr> (System.Numerics.Vector<T> value);
static member op_Explicit : System.Numerics.Vector<'T (requires 'T : struct)> -> System.Numerics.Vector<nativeint>
static member op_Explicit : System.Numerics.Vector<'T> -> System.Numerics.Vector<nativeint>
Public Shared Narrowing Operator CType (value As Vector(Of T)) As Vector(Of IntPtr)

Parameters

value
Vector<T>

The vector to reinterpret.

Returns

Vector<IntPtr>

Vector<nint>

Vector<nativeint>

value reinterpreted as a new Vector<T>.

Exceptions

The type of value (T) is not supported.

Applies to

Explicit(Vector<T> to Vector<Byte>)

Source:
Vector_1.cs
Source:
Vector_1.cs
Source:
Vector_1.cs

Reinterprets the bits of the specified vector into a vector of type Byte.

public:
 static explicit operator System::Numerics::Vector<System::Byte>(System::Numerics::Vector<T> value);
public static explicit operator System.Numerics.Vector<byte> (System.Numerics.Vector<T> value);
static member op_Explicit : System.Numerics.Vector<'T (requires 'T : struct)> -> System.Numerics.Vector<byte>
static member op_Explicit : System.Numerics.Vector<'T> -> System.Numerics.Vector<byte>
Public Shared Narrowing Operator CType (value As Vector(Of T)) As Vector(Of Byte)

Parameters

value
Vector<T>

The vector to reinterpret.

Returns

The reinterpreted vector.

Exceptions

.NET 5 and later: Type T is not supported.

Remarks

The Explicit operator defines a narrowing conversion; it requires a casting operator (in C#) or a conversion method (in Visual Basic).

Applies to