Share via


TensorPrimitives Class

Definition

Performs primitive tensor operations over spans of memory.

public ref class TensorPrimitives abstract sealed
public static class TensorPrimitives
type TensorPrimitives = class
Public Class TensorPrimitives
Inheritance
TensorPrimitives

Methods

Abs(ReadOnlySpan<Single>, Span<Single>)

Computes the element-wise absolute value of each single-precision floating-point number in the specified tensor.

Abs<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise absolute value of each number in the specified tensor.

Acos<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise angle in radians whose cosine is the specifed number.

Acosh<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise hyperbolic arc-cosine of the specifed number.

AcosPi<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise angle in radians whose cosine is the specifed number and divides the result by Pi.

Add(ReadOnlySpan<Single>, ReadOnlySpan<Single>, Span<Single>)

Computes the element-wise addition of single-precision floating-point numbers in the specified tensors.

Add(ReadOnlySpan<Single>, Single, Span<Single>)

Computes the element-wise addition of single-precision floating-point numbers in the specified tensors.

Add<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise addition of numbers in the specified tensors.

Add<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise addition of numbers in the specified tensors.

AddMultiply(ReadOnlySpan<Single>, ReadOnlySpan<Single>, ReadOnlySpan<Single>, Span<Single>)

Computes the element-wise result of (x + y) * multiplier for the specified tensors.

AddMultiply(ReadOnlySpan<Single>, ReadOnlySpan<Single>, Single, Span<Single>)

Computes the element-wise result of (x + y) * multiplier for the specified tensors.

AddMultiply(ReadOnlySpan<Single>, Single, ReadOnlySpan<Single>, Span<Single>)

Computes the element-wise result of (x + y) * multiplier for the specified tensors.

AddMultiply<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise result of (x + y) * multiplier for the specified tensors.

AddMultiply<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise result of (x + y) * multiplier for the specified tensors.

AddMultiply<T>(ReadOnlySpan<T>, T, ReadOnlySpan<T>, Span<T>)

Computes the element-wise result of (x + y) * multiplier for the specified tensors.

Asin<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise angle in radians whose sine is the specifed number.

Asinh<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise hyperbolic arc-sine of the specifed number.

AsinPi<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise angle in radians whose sine is the specifed number and divides the result by Pi.

Atan<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise angle in radians whose tangent is the specifed number.

Atan2<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise arc-tangent for the quotient of two values in the specified tensors.

Atan2<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise arc-tangent for the quotient of two values in the specified tensors.

Atan2<T>(T, ReadOnlySpan<T>, Span<T>)

Computes the element-wise arc-tangent for the quotient of two values in the specified tensors.

Atan2Pi<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise arc-tangent for the quotient of two values in the specified tensors and divides the result by Pi.

Atan2Pi<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise arc-tangent for the quotient of two values in the specified tensors and divides the result by Pi.

Atan2Pi<T>(T, ReadOnlySpan<T>, Span<T>)

Computes the element-wise arc-tangent for the quotient of two values in the specified tensors and divides the result by Pi.

Atanh<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise hyperbolic arc-tangent of the specifed number.

AtanPi<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise angle in radians whose tangent is the specifed number and divides the result by Pi.

Average<T>(ReadOnlySpan<T>)

Computes the mean of all elements in the specified non-empty tensor of numbers.

BitDecrement<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise bit decrement of numbers in the specified tensor.

BitIncrement<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise bit increment of numbers in the specified tensor.

BitwiseAnd<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise bitwise AND of numbers in the specified tensors.

BitwiseAnd<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise bitwise AND of numbers in the specified tensors.

BitwiseOr<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise bitwise OR of numbers in the specified tensors.

BitwiseOr<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise bitwise OR of numbers in the specified tensors.

Cbrt<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise cube root of numbers in the specified tensor.

Ceiling<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise ceiling of numbers in the specified tensor.

Clamp<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise result of clamping x to within the inclusive range specified by min and max for the specified tensors.

Clamp<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise result of clamping x to within the inclusive range specified by min and max for the specified tensors.

Clamp<T>(ReadOnlySpan<T>, T, ReadOnlySpan<T>, Span<T>)

Computes the element-wise result of clamping x to within the inclusive range specified by min and max for the specified tensors.

Clamp<T>(ReadOnlySpan<T>, T, T, Span<T>)

Computes the element-wise result of clamping x to within the inclusive range specified by min and max for the specified tensors.

Clamp<T>(T, ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise result of clamping x to within the inclusive range specified by min and max for the specified tensors.

Clamp<T>(T, ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise result of clamping x to within the inclusive range specified by min and max for the specified tensors.

Clamp<T>(T, T, ReadOnlySpan<T>, Span<T>)

Computes the element-wise result of clamping x to within the inclusive range specified by min and max for the specified tensors.

ConvertChecked<TFrom,TTo>(ReadOnlySpan<TFrom>, Span<TTo>)

Copies source to destination, converting each TFrom value to a TTo value.

ConvertSaturating<TFrom,TTo>(ReadOnlySpan<TFrom>, Span<TTo>)

Copies source to destination, converting each TFrom value to a TTo value.

ConvertToHalf(ReadOnlySpan<Single>, Span<Half>)

Copies source to destination, converting each Single value to its nearest representable half-precision floating-point value.

ConvertToInteger<TFrom,TTo>(ReadOnlySpan<TFrom>, Span<TTo>)

Copies source to destination, converting each TFrom value to a TTo integer type using saturation on overflow.

ConvertToIntegerNative<TFrom,TTo>(ReadOnlySpan<TFrom>, Span<TTo>)

Copies source to destination, converting each TFrom value to a TTo integer type using platform-specific behavior on overflow.

ConvertToSingle(ReadOnlySpan<Half>, Span<Single>)

Copies source to destination, converting each half-precision floating-point value to its nearest representable Single value.

ConvertTruncating<TFrom,TTo>(ReadOnlySpan<TFrom>, Span<TTo>)

Copies source to destination, converting each TFrom value to a TTo value.

CopySign<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise result of copying the sign from one number to another number in the specified tensors.

CopySign<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise result of copying the sign from one number to another number in the specified tensors.

Cos<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise cosine of the value in the specified tensor.

Cosh(ReadOnlySpan<Single>, Span<Single>)

Computes the element-wise hyperbolic cosine of each single-precision floating-point radian angle in the specified tensor.

Cosh<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise hyperbolic cosine of each radian angle in the specified tensor.

CosineSimilarity(ReadOnlySpan<Single>, ReadOnlySpan<Single>)

Computes the cosine similarity between the two specified non-empty, equal-length tensors of single-precision floating-point numbers.

CosineSimilarity<T>(ReadOnlySpan<T>, ReadOnlySpan<T>)

Computes the cosine similarity between the two specified non-empty, equal-length tensors of numbers.

CosPi<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise cosine of the value in the specified tensor that has been multiplied by Pi.

Decrement<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise decrement of numbers in the specified tensor.

DegreesToRadians<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise conversion of each number of degrees in the specified tensor to radians.

Distance(ReadOnlySpan<Single>, ReadOnlySpan<Single>)

Computes the distance between two points, specified as non-empty, equal-length tensors of single-precision floating-point numbers, in Euclidean space.

Distance<T>(ReadOnlySpan<T>, ReadOnlySpan<T>)

Computes the distance between two points, specified as non-empty, equal-length tensors of numbers, in Euclidean space.

Divide(ReadOnlySpan<Single>, ReadOnlySpan<Single>, Span<Single>)

Computes the element-wise division of single-precision floating-point numbers in the specified tensors.

Divide(ReadOnlySpan<Single>, Single, Span<Single>)

Computes the element-wise division of single-precision floating-point numbers in the specified tensors.

Divide<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise division of numbers in the specified tensors.

Divide<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise division of numbers in the specified tensors.

Divide<T>(T, ReadOnlySpan<T>, Span<T>)

Computes the element-wise division of numbers in the specified tensors.

DivRem<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>, Span<T>)

Computes the element-wise quotient and remainder of numbers in the specified tensors.

DivRem<T>(ReadOnlySpan<T>, T, Span<T>, Span<T>)

Computes the element-wise quotient and remainder of numbers in the specified tensors.

DivRem<T>(T, ReadOnlySpan<T>, Span<T>, Span<T>)

Computes the element-wise quotient and remainder of numbers in the specified tensors.

Dot(ReadOnlySpan<Single>, ReadOnlySpan<Single>)

Computes the dot product of two tensors containing single-precision floating-point numbers.

Dot<T>(ReadOnlySpan<T>, ReadOnlySpan<T>)

Computes the dot product of two tensors containing numbers.

Exp(ReadOnlySpan<Single>, Span<Single>)

Computes the element-wise result of raising e to the single-precision floating-point number powers in the specified tensor.

Exp<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise result of raising e to the number powers in the specified tensor.

Exp10<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise result of raising 10 to the number powers in the specified tensor.

Exp10M1<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise result of raising 10 to the number powers in the specified tensor, minus one.

Exp2<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise result of raising 2 to the number powers in the specified tensor.

Exp2M1<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise result of raising 2 to the number powers in the specified tensor, minus one.

ExpM1<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise result of raising e to the number powers in the specified tensor, minus 1.

Floor<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise floor of numbers in the specified tensor.

FusedMultiplyAdd<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise result of (x * y) + addend for the specified tensors of numbers.

FusedMultiplyAdd<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise result of (x * y) + addend for the specified tensors of numbers.

FusedMultiplyAdd<T>(ReadOnlySpan<T>, T, ReadOnlySpan<T>, Span<T>)

Computes the element-wise result of (x * y) + addend for the specified tensors of numbers.

HammingBitDistance<T>(ReadOnlySpan<T>, ReadOnlySpan<T>)

Computes the bitwise Hamming distance between two equal-length tensors of values.

HammingDistance<T>(ReadOnlySpan<T>, ReadOnlySpan<T>)

Computes the Hamming distance between two equal-length tensors of values.

Hypot<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise hypotenuse given values from two tensors representing the lengths of the shorter sides in a right-angled triangle.

Ieee754Remainder<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise remainder of the numbers in the specified tensors.

Ieee754Remainder<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise remainder of the numbers in the specified tensors.

Ieee754Remainder<T>(T, ReadOnlySpan<T>, Span<T>)

Computes the element-wise remainder of the numbers in the specified tensors.

ILogB<T>(ReadOnlySpan<T>, Span<Int32>)

Computes the element-wise integer logarithm of numbers in the specified tensor.

Increment<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise increment of numbers in the specified tensor.

IndexOfMax(ReadOnlySpan<Single>)

Searches for the index of the largest single-precision floating-point number in the specified tensor.

IndexOfMax<T>(ReadOnlySpan<T>)

Searches for the index of the largest number in the specified tensor.

IndexOfMaxMagnitude(ReadOnlySpan<Single>)

Searches for the index of the single-precision floating-point number with the largest magnitude in the specified tensor.

IndexOfMaxMagnitude<T>(ReadOnlySpan<T>)

Searches for the index of the number with the largest magnitude in the specified tensor.

IndexOfMin(ReadOnlySpan<Single>)

Searches for the index of the smallest single-precision floating-point number in the specified tensor.

IndexOfMin<T>(ReadOnlySpan<T>)

Searches for the index of the smallest number in the specified tensor.

IndexOfMinMagnitude(ReadOnlySpan<Single>)

Searches for the index of the single-precision floating-point number with the smallest magnitude in the specified tensor.

IndexOfMinMagnitude<T>(ReadOnlySpan<T>)

Searches for the index of the number with the smallest magnitude in the specified tensor.

IsCanonical<T>(ReadOnlySpan<T>, Span<Boolean>)

Computes for each value in the specified tensor whether it's in its canonical representation.

IsCanonicalAll<T>(ReadOnlySpan<T>)

Computes whether all of the values in the specified tensor are in their canonical representations.

IsCanonicalAny<T>(ReadOnlySpan<T>)

Computes whether any of the values in the specified tensor is in its canonical representation.

IsComplexNumber<T>(ReadOnlySpan<T>, Span<Boolean>)

Computes for each value in the specified tensor whether it's a complex number.

IsComplexNumberAll<T>(ReadOnlySpan<T>)

Computes whether all of the values in the specified tensor are complex numbers.

IsComplexNumberAny<T>(ReadOnlySpan<T>)

Computes whether any of the values in the specified tensor is a complex number.

IsEvenInteger<T>(ReadOnlySpan<T>, Span<Boolean>)

Computes for each value in the specified tensor whether it's an even integral number.

IsEvenIntegerAll<T>(ReadOnlySpan<T>)

Computes whether all of the values in the specified tensor are even integral numbers.

IsEvenIntegerAny<T>(ReadOnlySpan<T>)

Computes whether any of the values in the specified tensor is an even integral number.

IsFinite<T>(ReadOnlySpan<T>, Span<Boolean>)

Computes for each value in the specified tensor whether it's finite.

IsFiniteAll<T>(ReadOnlySpan<T>)

Computes whether all of the values in the specified tensor are finite.

IsFiniteAny<T>(ReadOnlySpan<T>)

Computes whether any of the values in the specified tensor is finite.

IsImaginaryNumber<T>(ReadOnlySpan<T>, Span<Boolean>)

Computes for each value in the specified tensor whether it's a imaginary number.

IsImaginaryNumberAll<T>(ReadOnlySpan<T>)

Computes whether all of the values in the specified tensor are imaginary numbers.

IsImaginaryNumberAny<T>(ReadOnlySpan<T>)

Computes whether any of the values in the specified tensor is a imaginary number.

IsInfinity<T>(ReadOnlySpan<T>, Span<Boolean>)

Computes for each value in the specified tensor whether it's infinity.

IsInfinityAll<T>(ReadOnlySpan<T>)

Computes whether all of the values in the specified tensor are infinity.

IsInfinityAny<T>(ReadOnlySpan<T>)

Computes whether any of the values in the specified tensor is infinity.

IsInteger<T>(ReadOnlySpan<T>, Span<Boolean>)

Computes for each value in the specified tensor whether it's an integer.

IsIntegerAll<T>(ReadOnlySpan<T>)

Computes whether all of the values in the specified tensor are integers.

IsIntegerAny<T>(ReadOnlySpan<T>)

Computes whether any of the values in the specified tensor is an integer.

IsNaN<T>(ReadOnlySpan<T>, Span<Boolean>)

Computes for each value in the specified tensor whether it's a naN.

IsNaNAll<T>(ReadOnlySpan<T>)

Computes whether all of the values in the specified tensor are naNs.

IsNaNAny<T>(ReadOnlySpan<T>)

Computes whether any of the values in the specified tensor is a naN.

IsNegative<T>(ReadOnlySpan<T>, Span<Boolean>)

Computes for each value in the specified tensor whether it's negative.

IsNegativeAll<T>(ReadOnlySpan<T>)

Computes whether all of the values in the specified tensor are negative.

IsNegativeAny<T>(ReadOnlySpan<T>)

Computes whether any of the values in the specified tensor is negative.

IsNegativeInfinity<T>(ReadOnlySpan<T>, Span<Boolean>)

Computes for each value in the specified tensor whether it's negative infinity.

IsNegativeInfinityAll<T>(ReadOnlySpan<T>)

Computes whether all of the values in the specified tensor are negative infinity.

IsNegativeInfinityAny<T>(ReadOnlySpan<T>)

Computes whether any of the values in the specified tensor is negative infinity.

IsNormal<T>(ReadOnlySpan<T>, Span<Boolean>)

Computes for each value in the specified tensor whether it's normal.

IsNormalAll<T>(ReadOnlySpan<T>)

Computes whether all of the values in the specified tensor are normal.

IsNormalAny<T>(ReadOnlySpan<T>)

Computes whether any of the values in the specified tensor is normal.

IsOddInteger<T>(ReadOnlySpan<T>, Span<Boolean>)

Computes for each value in the specified tensor whether it's an odd integral number.

IsOddIntegerAll<T>(ReadOnlySpan<T>)

Computes whether all of the values in the specified tensor are odd integral numbers.

IsOddIntegerAny<T>(ReadOnlySpan<T>)

Computes whether any of the values in the specified tensor is an odd integral number.

IsPositive<T>(ReadOnlySpan<T>, Span<Boolean>)

Computes for each value in the specified tensor whether it's positive.

IsPositiveAll<T>(ReadOnlySpan<T>)

Computes whether all of the values in the specified tensor are positive.

IsPositiveAny<T>(ReadOnlySpan<T>)

Computes whether any of the values in the specified tensor is positive.

IsPositiveInfinity<T>(ReadOnlySpan<T>, Span<Boolean>)

Computes for each value in the specified tensor whether it's positive infinity.

IsPositiveInfinityAll<T>(ReadOnlySpan<T>)

Computes whether all of the values in the specified tensor are positive infinity.

IsPositiveInfinityAny<T>(ReadOnlySpan<T>)

Computes whether any of the values in the specified tensor is positive infinity.

IsPow2<T>(ReadOnlySpan<T>, Span<Boolean>)

Computes for each value in the specified tensor whether it's a power of two.

IsPow2All<T>(ReadOnlySpan<T>)

Computes whether all of the values in the specified tensor are powers of two.

IsPow2Any<T>(ReadOnlySpan<T>)

Computes whether any of the values in the specified tensor are powers of two.

IsRealNumber<T>(ReadOnlySpan<T>, Span<Boolean>)

Computes for each value in the specified tensor whether it's a real number.

IsRealNumberAll<T>(ReadOnlySpan<T>)

Computes whether all of the values in the specified tensor are real numbers.

IsRealNumberAny<T>(ReadOnlySpan<T>)

Computes whether any of the values in the specified tensor is a real number.

IsSubnormal<T>(ReadOnlySpan<T>, Span<Boolean>)

Computes for each value in the specified tensor whether it's subnormal.

IsSubnormalAll<T>(ReadOnlySpan<T>)

Computes whether all of the values in the specified tensor are subnormal.

IsSubnormalAny<T>(ReadOnlySpan<T>)

Computes whether any of the values in the specified tensor is subnormal.

IsZero<T>(ReadOnlySpan<T>, Span<Boolean>)

Computes for each value in the specified tensor whether it's zero.

IsZeroAll<T>(ReadOnlySpan<T>)

Computes whether all of the values in the specified tensor are zero.

IsZeroAny<T>(ReadOnlySpan<T>)

Computes whether any of the values in the specified tensor is zero.

LeadingZeroCount<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise leading zero count of numbers in the specified tensor.

Lerp<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise linear interpolation between two values based on the given weight in the specified tensors of numbers.

Lerp<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise linear interpolation between two values based on the given weight in the specified tensors of numbers.

Lerp<T>(ReadOnlySpan<T>, T, ReadOnlySpan<T>, Span<T>)

Computes the element-wise linear interpolation between two values based on the given weight in the specified tensors of numbers.

Log(ReadOnlySpan<Single>, Span<Single>)

Computes the element-wise natural (base e) logarithm of single-precision floating-point numbers in the specified tensor.

Log<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise logarithm of the numbers in a specified tensor to the specified base in another specified tensor.

Log<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise natural (base e) logarithm of numbers in the specified tensor.

Log<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise logarithm of the numbers in a specified tensor to the specified base in another specified tensor.

Log10<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise base 10 logarithm of numbers in the specified tensor.

Log10P1<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise base 10 logarithm of numbers in the specified tensor plus 1.

Log2(ReadOnlySpan<Single>, Span<Single>)

Computes the element-wise base 2 logarithm of single-precision floating-point numbers in the specified tensor.

Log2<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise base 2 logarithm of numbers in the specified tensor.

Log2P1<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise base 2 logarithm of numbers in the specified tensor plus 1.

LogP1<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise natural (base e) logarithm of numbers in the specified tensor plus 1.

Max(ReadOnlySpan<Single>, ReadOnlySpan<Single>, Span<Single>)

Computes the element-wise maximum of the single-precision floating-point numbers in the specified tensors.

Max(ReadOnlySpan<Single>)

Searches for the largest single-precision floating-point number in the specified tensor.

Max<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise maximum of the numbers in the specified tensors.

Max<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise maximum of the numbers in the specified tensors.

Max<T>(ReadOnlySpan<T>)

Searches for the largest number in the specified tensor.

MaxMagnitude(ReadOnlySpan<Single>, ReadOnlySpan<Single>, Span<Single>)

Computes the element-wise single-precision floating-point number with the largest magnitude in the specified tensors.

MaxMagnitude(ReadOnlySpan<Single>)

Searches for the single-precision floating-point number with the largest magnitude in the specified tensor.

MaxMagnitude<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise number with the largest magnitude in the specified tensors.

MaxMagnitude<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise number with the largest magnitude in the specified tensors.

MaxMagnitude<T>(ReadOnlySpan<T>)

Searches for the number with the largest magnitude in the specified tensor.

MaxMagnitudeNumber<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise number with the largest magnitude in the specified tensors.

MaxMagnitudeNumber<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise number with the largest magnitude in the specified tensors.

MaxMagnitudeNumber<T>(ReadOnlySpan<T>)

Searches for the number with the largest magnitude in the specified tensor.

MaxNumber<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise maximum of the numbers in the specified tensors.

MaxNumber<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise maximum of the numbers in the specified tensors.

MaxNumber<T>(ReadOnlySpan<T>)

Searches for the largest number in the specified tensor.

Min(ReadOnlySpan<Single>, ReadOnlySpan<Single>, Span<Single>)

Computes the element-wise minimum of the single-precision floating-point numbers in the specified tensors.

Min(ReadOnlySpan<Single>)

Searches for the smallest single-precision floating-point number in the specified tensor.

Min<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise minimum of the numbers in the specified tensors.

Min<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise minimum of the numbers in the specified tensors.

Min<T>(ReadOnlySpan<T>)

Searches for the smallest number in the specified tensor.

MinMagnitude(ReadOnlySpan<Single>, ReadOnlySpan<Single>, Span<Single>)

Computes the element-wise single-precision floating-point number with the smallest magnitude in the specified tensors.

MinMagnitude(ReadOnlySpan<Single>)

Searches for the single-precision floating-point number with the smallest magnitude in the specified tensor.

MinMagnitude<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise number with the smallest magnitude in the specified tensors.

MinMagnitude<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise number with the smallest magnitude in the specified tensors.

MinMagnitude<T>(ReadOnlySpan<T>)

Searches for the number with the smallest magnitude in the specified tensor.

MinMagnitudeNumber<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise number with the smallest magnitude in the specified tensors.

MinMagnitudeNumber<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise number with the smallest magnitude in the specified tensors.

MinMagnitudeNumber<T>(ReadOnlySpan<T>)

Searches for the number with the smallest magnitude in the specified tensor.

MinNumber<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise minimum of the numbers in the specified tensors.

MinNumber<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise minimum of the numbers in the specified tensors.

MinNumber<T>(ReadOnlySpan<T>)

Searches for the smallest number in the specified tensor.

Multiply(ReadOnlySpan<Single>, ReadOnlySpan<Single>, Span<Single>)

Computes the element-wise product of single-precision floating-point numbers in the specified tensors.

Multiply(ReadOnlySpan<Single>, Single, Span<Single>)

Computes the element-wise product of single-precision floating-point numbers in the specified tensors.

Multiply<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise product of numbers in the specified tensors.

Multiply<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise product of numbers in the specified tensors.

MultiplyAdd(ReadOnlySpan<Single>, ReadOnlySpan<Single>, ReadOnlySpan<Single>, Span<Single>)

Computes the element-wise result of (x * y) + addend for the specified tensors of single-precision floating-point numbers.

MultiplyAdd(ReadOnlySpan<Single>, ReadOnlySpan<Single>, Single, Span<Single>)

Computes the element-wise result of (x * y) + addend for the specified tensors of single-precision floating-point numbers.

MultiplyAdd(ReadOnlySpan<Single>, Single, ReadOnlySpan<Single>, Span<Single>)

Computes the element-wise result of (x * y) + addend for the specified tensors of single-precision floating-point numbers.

MultiplyAdd<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise result of (x * y) + addend for the specified tensors of numbers.

MultiplyAdd<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise result of (x * y) + addend for the specified tensors of numbers.

MultiplyAdd<T>(ReadOnlySpan<T>, T, ReadOnlySpan<T>, Span<T>)

Computes the element-wise result of (x * y) + addend for the specified tensors of numbers.

MultiplyAddEstimate<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise result of (x * y) + addend for the specified tensors of numbers.

MultiplyAddEstimate<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise result of (x * y) + addend for the specified tensors of numbers.

MultiplyAddEstimate<T>(ReadOnlySpan<T>, T, ReadOnlySpan<T>, Span<T>)

Computes the element-wise result of (x * y) + addend for the specified tensors of numbers.

Negate(ReadOnlySpan<Single>, Span<Single>)

Computes the element-wise negation of each single-precision floating-point number in the specified tensor.

Negate<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise negation of each number in the specified tensor.

Norm(ReadOnlySpan<Single>)

Computes the Euclidean norm of the specified tensor of single-precision floating-point numbers.

Norm<T>(ReadOnlySpan<T>)

Computes the Euclidean norm of the specified tensor of numbers.

OnesComplement<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise one's complement of numbers in the specified tensor.

PopCount<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise population count of numbers in the specified tensor.

PopCount<T>(ReadOnlySpan<T>)

Computes the population count of all elements in the specified tensor.

Pow<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise power of a number in a specified tensor raised to a number in another specified tensors.

Pow<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise power of a number in a specified tensor raised to a number in another specified tensors.

Pow<T>(T, ReadOnlySpan<T>, Span<T>)

Computes the element-wise power of a number in a specified tensor raised to a number in another specified tensors.

Product(ReadOnlySpan<Single>)

Computes the product of all elements in the specified non-empty tensor of single-precision floating-point numbers.

Product<T>(ReadOnlySpan<T>)

Computes the product of all elements in the specified non-empty tensor of numbers.

ProductOfDifferences(ReadOnlySpan<Single>, ReadOnlySpan<Single>)

Computes the product of the element-wise differences of the single-precision floating-point numbers in the specified non-empty tensors.

ProductOfDifferences<T>(ReadOnlySpan<T>, ReadOnlySpan<T>)

Computes the product of the element-wise differences of the numbers in the specified non-empty tensors.

ProductOfSums(ReadOnlySpan<Single>, ReadOnlySpan<Single>)

Computes the product of the element-wise sums of the single-precision floating-point numbers in the specified non-empty tensors.

ProductOfSums<T>(ReadOnlySpan<T>, ReadOnlySpan<T>)

Computes the product of the element-wise sums of the numbers in the specified non-empty tensors.

RadiansToDegrees<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise conversion of each number of radians in the specified tensor to degrees.

Reciprocal<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise reciprocal of numbers in the specified tensor.

ReciprocalEstimate<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise reciprocal of numbers in the specified tensor.

ReciprocalSqrt<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise reciprocal of the square root of numbers in the specified tensor.

ReciprocalSqrtEstimate<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise reciprocal of the square root of numbers in the specified tensor.

Remainder<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise remainder of numbers in the specified tensors.

Remainder<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise remainder of numbers in the specified tensors.

Remainder<T>(T, ReadOnlySpan<T>, Span<T>)

Computes the element-wise remainder of numbers in the specified tensors.

RootN<T>(ReadOnlySpan<T>, Int32, Span<T>)

Computes the element-wise n-th root of the values in the specified tensor.

RotateLeft<T>(ReadOnlySpan<T>, Int32, Span<T>)

Computes the element-wise rotation left of numbers in the specified tensor by the specified rotation amount.

RotateRight<T>(ReadOnlySpan<T>, Int32, Span<T>)

Computes the element-wise rotation right of numbers in the specified tensor by the specified rotation amount.

Round<T>(ReadOnlySpan<T>, Int32, MidpointRounding, Span<T>)

Computes the element-wise rounding of the numbers in the specified tensor

Round<T>(ReadOnlySpan<T>, Int32, Span<T>)

Computes the element-wise rounding of the numbers in the specified tensor

Round<T>(ReadOnlySpan<T>, MidpointRounding, Span<T>)

Computes the element-wise rounding of the numbers in the specified tensor

Round<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise rounding of the numbers in the specified tensor

ScaleB<T>(ReadOnlySpan<T>, Int32, Span<T>)

Computes the element-wise product of numbers in the specified tensor and their base-radix raised to the specified power.

ShiftLeft<T>(ReadOnlySpan<T>, Int32, Span<T>)

Computes the element-wise shifting left of numbers in the specified tensor by the specified shift amount.

ShiftRightArithmetic<T>(ReadOnlySpan<T>, Int32, Span<T>)

Computes the element-wise arithmetic (signed) shifting right of numbers in the specified tensor by the specified shift amount.

ShiftRightLogical<T>(ReadOnlySpan<T>, Int32, Span<T>)

Computes the element-wise logical (unsigned) shifting right of numbers in the specified tensor by the specified shift amount.

Sigmoid(ReadOnlySpan<Single>, Span<Single>)

Computes the element-wise sigmoid function on the specified non-empty tensor of single-precision floating-point numbers.

Sigmoid<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise sigmoid function on the specified non-empty tensor of numbers.

Sign<T>(ReadOnlySpan<T>, Span<Int32>)

Computes the element-wise sign of numbers in the specified tensor.

Sin<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise sine of the value in the specified tensor.

SinCos<T>(ReadOnlySpan<T>, Span<T>, Span<T>)

Computes the element-wise sine and cosine of the value in the specified tensor.

SinCosPi<T>(ReadOnlySpan<T>, Span<T>, Span<T>)

Computes the element-wise sine and cosine of the value in the specified tensor that has been multiplied by Pi.

Sinh(ReadOnlySpan<Single>, Span<Single>)

Computes the element-wise hyperbolic sine of each single-precision floating-point radian angle in the specified tensor.

Sinh<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise hyperbolic sine of each radian angle in the specified tensor.

SinPi<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise sine of the value in the specified tensor that has been multiplied by Pi.

SoftMax(ReadOnlySpan<Single>, Span<Single>)

Computes the softmax function over the specified non-empty tensor of single-precision floating-point numbers.

SoftMax<T>(ReadOnlySpan<T>, Span<T>)

Computes the softmax function over the specified non-empty tensor of numbers.

Sqrt<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise square root of numbers in the specified tensor.

StdDev<T>(ReadOnlySpan<T>)

Computes the standard deviation of all elements in the specified non-empty tensor of numbers.

Subtract(ReadOnlySpan<Single>, ReadOnlySpan<Single>, Span<Single>)

Computes the element-wise difference between single-precision floating-point numbers in the specified tensors.

Subtract(ReadOnlySpan<Single>, Single, Span<Single>)

Computes the element-wise difference between single-precision floating-point numbers in the specified tensors.

Subtract<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise difference between numbers in the specified tensors.

Subtract<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise difference between numbers in the specified tensors.

Subtract<T>(T, ReadOnlySpan<T>, Span<T>)

Computes the element-wise difference between numbers in the specified tensors.

Sum(ReadOnlySpan<Single>)

Computes the sum of all elements in the specified tensor of single-precision floating-point numbers.

Sum<T>(ReadOnlySpan<T>)

Computes the sum of all elements in the specified tensor of numbers.

SumOfMagnitudes(ReadOnlySpan<Single>)

Computes the sum of the absolute values of every element in the specified tensor of single-precision floating-point numbers.

SumOfMagnitudes<T>(ReadOnlySpan<T>)

Computes the sum of the absolute values of every element in the specified tensor of numbers.

SumOfSquares(ReadOnlySpan<Single>)

Computes the sum of the square of every element in the specified tensor of single-precision floating-point numbers.

SumOfSquares<T>(ReadOnlySpan<T>)

Computes the sum of the square of every element in the specified tensor of numbers.

Tan<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise tangent of the value in the specified tensor.

Tanh(ReadOnlySpan<Single>, Span<Single>)

Computes the element-wise hyperbolic tangent of each single-precision floating-point radian angle in the specified tensor.

Tanh<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise hyperbolic tangent of each radian angle in the specified tensor.

TanPi<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise tangent of the value in the specified tensor that has been multiplied by Pi.

TrailingZeroCount<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise trailing zero count of numbers in the specified tensor.

Truncate<T>(ReadOnlySpan<T>, Span<T>)

Computes the element-wise truncation of numbers in the specified tensor.

Xor<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Computes the element-wise XOR of numbers in the specified tensors.

Xor<T>(ReadOnlySpan<T>, T, Span<T>)

Computes the element-wise XOR of numbers in the specified tensors.

Applies to