4 implementations of IArithmetic
Microsoft.Data.Analysis (4)
Computations\Arithmetic.cs (1)
11internal class Arithmetic<T> : IArithmetic<T>
Computations\Arithmetic.net8.cs (3)
236private class CompositeArithmetic<T, TNumericOperations> : IArithmetic<T> 383private class CompositeArithmetic<T, TNumericOperations, TBitwiseOperations> : CompositeArithmetic<T, TNumericOperations>, IArithmetic<T> 443private class CompositeArithmetic<T, TNumericOperations, TBitwiseOperations, TShiftOperations> : CompositeArithmetic<T, TNumericOperations, TBitwiseOperations>, IArithmetic<T>
22 references to IArithmetic
Microsoft.Data.Analysis (22)
Computations\Arithmetic.cs (1)
14public static IArithmetic<T> Instance { get; } = Arithmetic.GetArithmetic<T>();
Computations\Arithmetic.net8.cs (15)
701internal static IArithmetic<T> GetArithmetic<T>() 705return (IArithmetic<T>)new CompositeArithmetic<double, NumericOperations<double>, BitwiseOperations<double>>(); 707return (IArithmetic<T>)new CompositeArithmetic<float, NumericOperations<float>, BitwiseOperations<float>>(); 709return (IArithmetic<T>)new CompositeArithmetic<int, NumericOperations<int>, BitwiseOperations<int>, ShiftOperations<int>>(); 711return (IArithmetic<T>)new CompositeArithmetic<long, NumericOperations<long>, BitwiseOperations<long>, ShiftOperations<long>>(); 713return (IArithmetic<T>)new CompositeArithmetic<sbyte, NumericOperations<sbyte>, BitwiseOperations<sbyte>, ShiftOperations<sbyte>>(); 715return (IArithmetic<T>)new CompositeArithmetic<short, NumericOperations<short>, BitwiseOperations<short>, ShiftOperations<short>>(); 717return (IArithmetic<T>)new CompositeArithmetic<uint, NumericOperations<uint>, BitwiseOperations<uint>, ShiftOperations<uint>>(); 719return (IArithmetic<T>)new CompositeArithmetic<ulong, NumericOperations<ulong>, BitwiseOperations<ulong>, ShiftOperations<ulong>>(); 721return (IArithmetic<T>)new CompositeArithmetic<ushort, NumericOperations<ushort>, BitwiseOperations<ushort>, ShiftOperations<ushort>>(); 723return (IArithmetic<T>)new CompositeArithmetic<byte, NumericOperations<byte>, BitwiseOperations<byte>, ShiftOperations<byte>>(); 725return (IArithmetic<T>)new CompositeArithmetic<char, NumericOperations<char>, BitwiseOperations<char>, ShiftOperations<char>>(); 727return (IArithmetic<T>)new CompositeArithmetic<decimal, NumericOperations<decimal>>(); 729return (IArithmetic<T>)new DateTimeArithmetic(); 731return (IArithmetic<T>)new BoolArithmetic();
PrimitiveColumnContainer.BinaryOperations.cs (6)
14var arithmetic = Arithmetic<T>.Instance; 60var arithmetic = Arithmetic<T>.Instance; 73var arithmetic = Arithmetic<T>.Instance; 97var arithmetic = Arithmetic<T>.Instance; 111var arithmetic = Arithmetic<T>.Instance; 153var arithmetic = Arithmetic<T>.Instance;