Edit

Share via


TensorPrimitives.ProductOfDifferences Method

Definition

Overloads

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

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

Source:
TensorPrimitives.cs
Source:
TensorPrimitives.Single.cs
Source:
TensorPrimitives.Single.cs
public:
 static float ProductOfDifferences(ReadOnlySpan<float> x, ReadOnlySpan<float> y);
public static float ProductOfDifferences (ReadOnlySpan<float> x, ReadOnlySpan<float> y);
static member ProductOfDifferences : ReadOnlySpan<single> * ReadOnlySpan<single> -> single
Public Shared Function ProductOfDifferences (x As ReadOnlySpan(Of Single), y As ReadOnlySpan(Of Single)) As Single

Parameters

Returns

Applies to

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

Source:
TensorPrimitives.Product.cs
Source:
TensorPrimitives.Product.cs
public:
generic <typename T>
 where T : System::Numerics::ISubtractionOperators<T, T, T>, System::Numerics::IMultiplyOperators<T, T, T>, System::Numerics::IMultiplicativeIdentity<T, T> static T ProductOfDifferences(ReadOnlySpan<T> x, ReadOnlySpan<T> y);
public static T ProductOfDifferences<T> (ReadOnlySpan<T> x, ReadOnlySpan<T> y) where T : System.Numerics.ISubtractionOperators<T,T,T>, System.Numerics.IMultiplyOperators<T,T,T>, System.Numerics.IMultiplicativeIdentity<T,T>;
static member ProductOfDifferences : ReadOnlySpan<'T (requires 'T :> System.Numerics.ISubtractionOperators<'T, 'T, 'T> and 'T :> System.Numerics.IMultiplyOperators<'T, 'T, 'T> and 'T :> System.Numerics.IMultiplicativeIdentity<'T, 'T>)> * ReadOnlySpan<'T (requires 'T :> System.Numerics.ISubtractionOperators<'T, 'T, 'T> and 'T :> System.Numerics.IMultiplyOperators<'T, 'T, 'T> and 'T :> System.Numerics.IMultiplicativeIdentity<'T, 'T>)> -> 'T (requires 'T :> System.Numerics.ISubtractionOperators<'T, 'T, 'T> and 'T :> System.Numerics.IMultiplyOperators<'T, 'T, 'T> and 'T :> System.Numerics.IMultiplicativeIdentity<'T, 'T>)
Public Shared Function ProductOfDifferences(Of T As {ISubtractionOperators(Of T, T, T), IMultiplyOperators(Of T, T, T), IMultiplicativeIdentity(Of T, T)}) (x As ReadOnlySpan(Of T), y As ReadOnlySpan(Of T)) As T

Type Parameters

T

Parameters

Returns

T

Applies to