66 implementations of IUnaryOperator
System.Numerics.Tensors (66)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryOperator.cs (1)
41
internal readonly struct IdentityOperator<T> :
IUnaryOperator
<T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.Abs.cs (1)
34
internal readonly struct AbsoluteOperator<T> :
IUnaryOperator
<T, T> where T : INumberBase<T>
System\Numerics\Tensors\netcore\TensorPrimitives.Acos.cs (1)
29
private readonly struct AcosOperator<T> :
IUnaryOperator
<T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.Acosh.cs (1)
29
private readonly struct AcoshOperator<T> :
IUnaryOperator
<T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.AcosPi.cs (1)
29
private readonly struct AcosPiOperator<T> :
IUnaryOperator
<T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.Asin.cs (1)
29
private readonly struct AsinOperator<T> :
IUnaryOperator
<T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.Asinh.cs (1)
29
internal readonly struct AsinhOperator<T> :
IUnaryOperator
<T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.AsinPi.cs (1)
29
private readonly struct AsinPiOperator<T> :
IUnaryOperator
<T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.Atan.cs (1)
29
internal readonly struct AtanOperator<T> :
IUnaryOperator
<T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.Atanh.cs (1)
29
internal readonly struct AtanhOperator<T> :
IUnaryOperator
<T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.AtanPi.cs (1)
29
internal readonly struct AtanPiOperator<T> :
IUnaryOperator
<T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.Cbrt.cs (1)
26
private readonly struct CbrtOperator<T> :
IUnaryOperator
<T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.Ceiling.cs (1)
25
private readonly struct CeilingOperator<T> :
IUnaryOperator
<T, T> where T : IFloatingPoint<T>
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertChecked.cs (1)
33
internal readonly struct ConvertCheckedFallbackOperator<TFrom, TTo> :
IUnaryOperator
<TFrom, TTo> where TFrom : INumberBase<TFrom> where TTo : INumberBase<TTo>
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertHelpers.cs (4)
165
private readonly struct ConvertInt32ToSingle :
IUnaryOperator
<int, float>
176
private readonly struct ConvertUInt32ToSingle :
IUnaryOperator
<uint, float>
187
private readonly struct ConvertUInt64ToDouble :
IUnaryOperator
<ulong, double>
198
private readonly struct ConvertInt64ToDouble :
IUnaryOperator
<long, double>
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertSaturating.cs (1)
33
internal readonly struct ConvertSaturatingFallbackOperator<TFrom, TTo> :
IUnaryOperator
<TFrom, TTo> where TFrom : INumberBase<TFrom> where TTo : INumberBase<TTo>
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertTruncating.cs (5)
104
private readonly struct ConvertSingleToInt32 :
IUnaryOperator
<float, int>
115
private readonly struct ConvertSingleToUInt32 :
IUnaryOperator
<float, uint>
126
private readonly struct ConvertDoubleToUInt64 :
IUnaryOperator
<double, ulong>
137
private readonly struct ConvertDoubleToInt64 :
IUnaryOperator
<double, long>
214
private readonly struct ConvertTruncatingFallbackOperator<TFrom, TTo> :
IUnaryOperator
<TFrom, TTo> where TFrom : INumberBase<TFrom> where TTo : INumberBase<TTo>
System\Numerics\Tensors\netcore\TensorPrimitives.Cos.cs (1)
33
private readonly struct CosOperator<T> :
IUnaryOperator
<T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.Cosh.cs (1)
37
internal readonly struct CoshOperator<T> :
IUnaryOperator
<T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.CosPi.cs (1)
33
private readonly struct CosPiOperator<T> :
IUnaryOperator
<T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.DegreesToRadians.cs (1)
26
private readonly struct DegreesToRadiansOperator<T> :
IUnaryOperator
<T, T> where T : ITrigonometricFunctions<T>
System\Numerics\Tensors\netcore\TensorPrimitives.Exp.cs (1)
34
internal readonly struct ExpOperator<T> :
IUnaryOperator
<T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.Exp10.cs (1)
29
private readonly struct Exp10Operator<T> :
IUnaryOperator
<T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.Exp10M1.cs (1)
29
private readonly struct Exp10M1Operator<T> :
IUnaryOperator
<T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.Exp2.cs (1)
29
private readonly struct Exp2Operator<T> :
IUnaryOperator
<T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.Exp2M1.cs (1)
29
private readonly struct Exp2M1Operator<T> :
IUnaryOperator
<T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.ExpM1.cs (1)
29
private readonly struct ExpM1Operator<T> :
IUnaryOperator
<T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.Floor.cs (1)
25
private readonly struct FloorOperator<T> :
IUnaryOperator
<T, T> where T : IFloatingPoint<T>
System\Numerics\Tensors\netcore\TensorPrimitives.ILogB.cs (1)
35
private readonly struct ILogBOperator<T> :
IUnaryOperator
<T, int> where T : IFloatingPointIeee754<T>
System\Numerics\Tensors\netcore\TensorPrimitives.LeadingZeroCount.cs (1)
29
internal readonly unsafe struct LeadingZeroCountOperator<T> :
IUnaryOperator
<T, T> where T : IBinaryInteger<T>
System\Numerics\Tensors\netcore\TensorPrimitives.Log.cs (1)
76
internal readonly struct LogOperator<T> :
IUnaryOperator
<T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.Log10.cs (1)
35
private readonly struct Log10Operator<T> :
IUnaryOperator
<T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.Log10P1.cs (1)
35
private readonly struct Log10P1Operator<T> :
IUnaryOperator
<T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.Log2.cs (1)
36
internal readonly struct Log2Operator<T> :
IUnaryOperator
<T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.Log2P1.cs (1)
35
private readonly struct Log2P1Operator<T> :
IUnaryOperator
<T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.LogP1.cs (1)
35
private readonly struct LogP1Operator<T> :
IUnaryOperator
<T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.Negate.cs (1)
28
internal readonly struct NegateOperator<T> :
IUnaryOperator
<T, T> where T : IUnaryNegationOperators<T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.OnesComplement.cs (1)
25
private readonly struct OnesComplementOperator<T> :
IUnaryOperator
<T, T> where T : IBitwiseOperators<T, T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.PopCount.cs (1)
43
private readonly unsafe struct PopCountOperator<T> :
IUnaryOperator
<T, T> where T : IBinaryInteger<T>
System\Numerics\Tensors\netcore\TensorPrimitives.RadiansToDegrees.cs (1)
26
private readonly struct RadiansToDegreesOperator<T> :
IUnaryOperator
<T, T> where T : ITrigonometricFunctions<T>
System\Numerics\Tensors\netcore\TensorPrimitives.Reciprocal.cs (4)
72
private readonly struct ReciprocalOperator<T> :
IUnaryOperator
<T, T> where T : IFloatingPoint<T>
81
private readonly struct ReciprocalSqrtOperator<T> :
IUnaryOperator
<T, T> where T : IFloatingPointIeee754<T>
90
private readonly struct ReciprocalEstimateOperator<T> :
IUnaryOperator
<T, T> where T : IFloatingPointIeee754<T>
156
private readonly struct ReciprocalSqrtEstimateOperator<T> :
IUnaryOperator
<T, T> where T : IFloatingPointIeee754<T>
System\Numerics\Tensors\netcore\TensorPrimitives.Round.cs (2)
162
private readonly struct RoundToEvenOperator<T> :
IUnaryOperator
<T, T> where T : IFloatingPoint<T>
238
private readonly struct RoundAwayFromZeroOperator<T> :
IUnaryOperator
<T, T> where T : IFloatingPoint<T>
System\Numerics\Tensors\netcore\TensorPrimitives.Sigmoid.cs (1)
37
internal readonly struct SigmoidOperator<T> :
IUnaryOperator
<T, T> where T : IExponentialFunctions<T>
System\Numerics\Tensors\netcore\TensorPrimitives.Sin.cs (1)
33
internal readonly struct SinOperator<T> :
IUnaryOperator
<T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.Sinh.cs (1)
37
internal readonly struct SinhOperator<T> :
IUnaryOperator
<T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.SinPi.cs (1)
33
private readonly struct SinPiOperator<T> :
IUnaryOperator
<T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.Sqrt.cs (1)
25
private readonly struct SqrtOperator<T> :
IUnaryOperator
<T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.Sum.cs (1)
72
internal readonly struct SquaredOperator<T> :
IUnaryOperator
<T, T> where T : IMultiplyOperators<T, T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.Tan.cs (3)
33
private readonly struct TanOperator<T> :
IUnaryOperator
<T, T>
102
private readonly struct TanOperatorSingle :
IUnaryOperator
<float, float>
228
private readonly struct TanOperatorDouble :
IUnaryOperator
<double, double>
System\Numerics\Tensors\netcore\TensorPrimitives.Tanh.cs (1)
37
internal readonly struct TanhOperator<T> :
IUnaryOperator
<T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.TanPi.cs (1)
32
private readonly struct TanPiOperator<T> :
IUnaryOperator
<T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.TrailingZeroCount.cs (1)
28
private readonly unsafe struct TrailingZeroCountOperator<T> :
IUnaryOperator
<T, T> where T : IBinaryInteger<T>
System\Numerics\Tensors\netcore\TensorPrimitives.Truncate.cs (1)
27
private readonly struct TruncateOperator<T> :
IUnaryOperator
<T, T> where T : IFloatingPoint<T>
14 references to IUnaryOperator
System.Numerics.Tensors (14)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IAggregationOperator.cs (1)
32
where TTransformOperator : struct,
IUnaryOperator
<T, T>
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IBinaryOperator.cs (1)
1397
where TTransformOperator : struct,
IUnaryOperator
<T, T>
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryOperator.cs (2)
55
where TUnaryOperator : struct,
IUnaryOperator
<T, T> =>
68
where TUnaryOperator : struct,
IUnaryOperator
<TInput, TOutput>
System\Numerics\Tensors\netcore\TensorPrimitives.FloatHelpers.cs (6)
10
private static Vector128<float> ApplyScalar<TOperator>(Vector128<float> floats) where TOperator :
IUnaryOperator
<float, float> =>
13
private static Vector256<float> ApplyScalar<TOperator>(Vector256<float> floats) where TOperator :
IUnaryOperator
<float, float> =>
16
private static Vector512<float> ApplyScalar<TOperator>(Vector512<float> floats) where TOperator :
IUnaryOperator
<float, float> =>
19
private static Vector128<double> ApplyScalar<TOperator>(Vector128<double> doubles) where TOperator :
IUnaryOperator
<double, double> =>
22
private static Vector256<double> ApplyScalar<TOperator>(Vector256<double> doubles) where TOperator :
IUnaryOperator
<double, double> =>
25
private static Vector512<double> ApplyScalar<TOperator>(Vector512<double> doubles) where TOperator :
IUnaryOperator
<double, double> =>
System\Numerics\Tensors\netcore\TensorPrimitives.Round.cs (1)
297
where TDelegatedRound :
IUnaryOperator
<T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.Single.netcore.cs (3)
42
where TSingleUnaryOperator : struct,
IUnaryOperator
<float, float> =>
57
where TSingleTransformOperator : struct,
IUnaryOperator
<float, float>
78
where TSingleTransformOperator : struct,
IUnaryOperator
<float, float>