Op Englesch liesen Editéieren

Deelen iwwer


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.

C#
[System.CLSCompliant(false)]
public static explicit operator System.Numerics.Vector<UIntPtr>(System.Numerics.Vector<T> value);
C#
[System.CLSCompliant(false)]
public static explicit operator System.Numerics.Vector<nuint>(System.Numerics.Vector<T> value);

Parameters

value
Vector<T>

The vector to reinterpret.

Returns

Vector<UIntPtr>

value reinterpreted as a new Vector<T>.

Attributes

Exceptions

The type of value (T) is not supported.

Applies to

.NET 10 an aner Versiounen
Produkt Versiounen
.NET 6, 7, 8, 9, 10

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.

C#
[System.CLSCompliant(false)]
public static explicit operator System.Numerics.Vector<ulong>(System.Numerics.Vector<T> value);

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

.NET 10 an aner Versiounen
Produkt Versiounen
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Standard 2.0 (package-provided), 2.1
UWP 10.0

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.

C#
[System.CLSCompliant(false)]
public static explicit operator System.Numerics.Vector<uint>(System.Numerics.Vector<T> value);

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

.NET 10 an aner Versiounen
Produkt Versiounen
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Standard 2.0 (package-provided), 2.1
UWP 10.0

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.

C#
[System.CLSCompliant(false)]
public static explicit operator System.Numerics.Vector<ushort>(System.Numerics.Vector<T> value);

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

.NET 10 an aner Versiounen
Produkt Versiounen
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Standard 2.0 (package-provided), 2.1
UWP 10.0

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.

C#
public static explicit operator System.Numerics.Vector<float>(System.Numerics.Vector<T> value);

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

.NET 10 an aner Versiounen
Produkt Versiounen
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Standard 2.0 (package-provided), 2.1
UWP 10.0

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.

C#
[System.CLSCompliant(false)]
public static explicit operator System.Numerics.Vector<sbyte>(System.Numerics.Vector<T> value);

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

.NET 10 an aner Versiounen
Produkt Versiounen
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Standard 2.0 (package-provided), 2.1
UWP 10.0

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.

C#
public static explicit operator System.Numerics.Vector<double>(System.Numerics.Vector<T> value);

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

.NET 10 an aner Versiounen
Produkt Versiounen
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Standard 2.0 (package-provided), 2.1
UWP 10.0

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.

C#
public static explicit operator System.Numerics.Vector<long>(System.Numerics.Vector<T> value);

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

.NET 10 an aner Versiounen
Produkt Versiounen
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Standard 2.0 (package-provided), 2.1
UWP 10.0

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.

C#
public static explicit operator System.Numerics.Vector<int>(System.Numerics.Vector<T> value);

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

.NET 10 an aner Versiounen
Produkt Versiounen
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Standard 2.0 (package-provided), 2.1
UWP 10.0

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.

C#
public static explicit operator System.Numerics.Vector<short>(System.Numerics.Vector<T> value);

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

.NET 10 an aner Versiounen
Produkt Versiounen
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Standard 2.0 (package-provided), 2.1
UWP 10.0

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.

C#
public static explicit operator System.Numerics.Vector<IntPtr>(System.Numerics.Vector<T> value);
C#
public static explicit operator System.Numerics.Vector<nint>(System.Numerics.Vector<T> value);

Parameters

value
Vector<T>

The vector to reinterpret.

Returns

Vector<IntPtr>

value reinterpreted as a new Vector<T>.

Exceptions

The type of value (T) is not supported.

Applies to

.NET 10 an aner Versiounen
Produkt Versiounen
.NET 6, 7, 8, 9, 10

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.

C#
public static explicit operator System.Numerics.Vector<byte>(System.Numerics.Vector<T> value);

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

.NET 10 an aner Versiounen
Produkt Versiounen
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Standard 2.0 (package-provided), 2.1
UWP 10.0