15 implementations of IUnaryTwoToOneOperator
System.Numerics.Tensors (15)
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertHelpers.cs (2)
347private readonly struct NarrowDoubleToSingleOperator : IUnaryTwoToOneOperator<double, float> 858private readonly struct NarrowSingleToHalfAsUInt16Operator : IUnaryTwoToOneOperator<float, ushort>
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertSaturating.cs (6)
145private readonly struct NarrowInt32ToInt16SaturatingOperator : IUnaryTwoToOneOperator<int, short> 156private readonly struct NarrowInt16ToSByteSaturatingOperator : IUnaryTwoToOneOperator<short, sbyte> 167private readonly struct NarrowInt64ToInt32SaturatingOperator : IUnaryTwoToOneOperator<long, int> 178private readonly struct NarrowUInt16ToByteSaturatingOperator : IUnaryTwoToOneOperator<ushort, byte> 189private readonly struct NarrowUInt32ToUInt16SaturatingOperator : IUnaryTwoToOneOperator<uint, ushort> 200private readonly struct NarrowUInt64ToUInt32SaturatingOperator : IUnaryTwoToOneOperator<ulong, uint>
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertTruncating.cs (6)
85private readonly struct NarrowUInt16ToByteOperator : IUnaryTwoToOneOperator<ushort, byte> 96private readonly struct NarrowInt16ToSByteOperator : IUnaryTwoToOneOperator<short, sbyte> 107private readonly struct NarrowUInt32ToUInt16Operator : IUnaryTwoToOneOperator<uint, ushort> 118private readonly struct NarrowInt32ToInt16Operator : IUnaryTwoToOneOperator<int, short> 129private readonly struct NarrowUInt64ToUInt32Operator : IUnaryTwoToOneOperator<ulong, uint> 140private readonly struct NarrowInt64ToInt32Operator : IUnaryTwoToOneOperator<long, int>
System\Numerics\Tensors\netcore\TensorPrimitives.ILogB.cs (1)
46private readonly struct ILogBDoubleOperator : IUnaryTwoToOneOperator<double, int>
1 reference to IUnaryTwoToOneOperator
System.Numerics.Tensors (1)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryTwoToOneOperator.cs (1)
31where TUnaryOperator : struct, IUnaryTwoToOneOperator<TInput, TOutput>