Vector.Abs<T>(Vector<T>) Метод

Определение

Возвращает новый вектор, элементы которого являются абсолютными значениями элементов данного вектора.

public:
generic <typename T>
 where T : value class static System::Numerics::Vector<T> Abs(System::Numerics::Vector<T> value);
public static System.Numerics.Vector<T> Abs<T> (System.Numerics.Vector<T> value) where T : struct;
static member Abs : System.Numerics.Vector<'T (requires 'T : struct)> -> System.Numerics.Vector<'T (requires 'T : struct)> (requires 'T : struct)
Public Shared Function Abs(Of T As Structure) (value As Vector(Of T)) As Vector(Of T)
Public Function Abs(Of T As Structure) (value As Vector(Of T)) As Vector(Of T)

Параметры типа

T

Тип вектора. T может быть любым примитивным числовым типом.

Параметры

value
Vector<T>

Исходный вектор.

Возвращаемое значение

Vector<T>

Вектор абсолютного значения.

Применяется к