140 references to ThrowHelper
System.Numerics.Tensors (140)
System\NIndex.cs (3)
32ThrowHelper.ThrowValueArgumentOutOfRange_NeedNonNegNumException(); 74ThrowHelper.ThrowValueArgumentOutOfRange_NeedNonNegNumException(); 87ThrowHelper.ThrowValueArgumentOutOfRange_NeedNonNegNumException();
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IAggregationOperator.cs (1)
1114ThrowHelper.ThrowArgument_SpansMustHaveSameLength();
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IBinaryOperator.cs (3)
65ThrowHelper.ThrowArgument_SpansMustHaveSameLength(); 70ThrowHelper.ThrowArgument_DestinationTooShort(); 1404ThrowHelper.ThrowArgument_DestinationTooShort();
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IStatefulUnaryOperator.cs (1)
38ThrowHelper.ThrowArgument_DestinationTooShort();
System\Numerics\Tensors\netcore\Common\TensorPrimitives.ITernaryOperator.cs (6)
39ThrowHelper.ThrowArgument_SpansMustHaveSameLength(); 44ThrowHelper.ThrowArgument_DestinationTooShort(); 1516ThrowHelper.ThrowArgument_SpansMustHaveSameLength(); 1521ThrowHelper.ThrowArgument_DestinationTooShort(); 2995ThrowHelper.ThrowArgument_SpansMustHaveSameLength(); 3000ThrowHelper.ThrowArgument_DestinationTooShort();
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryInputBinaryOutput.cs (2)
31ThrowHelper.ThrowArgument_DestinationTooShort(nameof(destination1)); 36ThrowHelper.ThrowArgument_DestinationTooShort(nameof(destination2));
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryOneToTwoOperator.cs (1)
39ThrowHelper.ThrowArgument_DestinationTooShort();
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryOperator.cs (1)
74ThrowHelper.ThrowArgument_DestinationTooShort();
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryTwoToOneOperator.cs (1)
39ThrowHelper.ThrowArgument_DestinationTooShort();
System\Numerics\Tensors\netcore\ReadOnlyTensorSpan.cs (24)
89ThrowHelper.ThrowArgumentOutOfRangeException(); 94ThrowHelper.ThrowArrayTypeMismatchException(); 104ThrowHelper.ThrowArgument_InvalidStridesAndLengths(); 109ThrowHelper.ThrowArgument_InvalidStridesAndLengths(); 145ThrowHelper.ThrowArgument_InvalidStridesAndLengths(); 179ThrowHelper.ThrowArgumentOutOfRangeException(); 184ThrowHelper.ThrowArrayTypeMismatchException(); 195ThrowHelper.ThrowArgumentOutOfRangeException(); 200ThrowHelper.ThrowArgumentOutOfRangeException(); 228ThrowHelper.ThrowArgumentOutOfRangeException(); 233ThrowHelper.ThrowArrayTypeMismatchException(); 244ThrowHelper.ThrowArgumentOutOfRangeException(); 249ThrowHelper.ThrowArgumentOutOfRangeException(); 290ThrowHelper.ThrowArgumentOutOfRangeException(); 293ThrowHelper.ThrowInvalidTypeWithPointersNotSupported(typeof(T)); 304ThrowHelper.ThrowArgument_InvalidStridesAndLengths(); 343ThrowHelper.ThrowIndexOutOfRangeException(); 347ThrowHelper.ThrowIndexOutOfRangeException(); 366ThrowHelper.ThrowIndexOutOfRangeException(); 370ThrowHelper.ThrowIndexOutOfRangeException(); 389ThrowHelper.ThrowIndexOutOfRangeException(); 582ThrowHelper.ThrowArgumentException_DestinationTooShort(); 708ThrowHelper.ThrowIndexOutOfRangeException(); 757ThrowHelper.ThrowArgumentException_DestinationTooShort();
System\Numerics\Tensors\netcore\Tensor.cs (8)
55ThrowHelper.ThrowArgumentOutOfRangeException(); 74ThrowHelper.ThrowArgument_InvalidStridesAndLengths(); 79ThrowHelper.ThrowArgument_InvalidStridesAndLengths(); 226ThrowHelper.ThrowIndexOutOfRangeException(); 236ThrowHelper.ThrowArgument_SetSliceNoRange(nameof(value)); 243ThrowHelper.ThrowArgument_SetSliceInvalidShapes(nameof(value)); 322ThrowHelper.ThrowIndexOutOfRangeException(); 345ThrowHelper.ThrowArgument_FilterTensorMustEqualTensorLength();
System\Numerics\Tensors\netcore\TensorExtensions.cs (24)
91ThrowHelper.ThrowArgument_ShapesNotBroadcastCompatible(); 206ThrowHelper.ThrowArgument_SplitNotSplitEvenly(); 285ThrowHelper.ThrowArgument_SetSliceNoRange(nameof(values)); 292ThrowHelper.ThrowArgument_SetSliceInvalidShapes(nameof(values)); 314ThrowHelper.ThrowArgument_DimensionsNotSame(nameof(filter)); 341ThrowHelper.ThrowArgument_DimensionsNotSame(nameof(filter)); 343ThrowHelper.ThrowArgument_1DTensorRequired(nameof(values)); 347ThrowHelper.ThrowArgument_IncorrectNumberOfFilterItems(nameof(values)); 806ThrowHelper.ThrowArgument_StackTooFewTensors(); 836ThrowHelper.ThrowArgument_OnlyOneWildcard(); 851ThrowHelper.ThrowArgument_InvalidReshapeDimensions(); 869ThrowHelper.ThrowArgument_AxisLargerThanRank(); 891ThrowHelper.ThrowArgument_InvalidSqueezeAxis(); 919ThrowHelper.ThrowArgument_AxisLargerThanRank(); 941ThrowHelper.ThrowArgument_ConcatenateTooFewTensors(); 944ThrowHelper.ThrowArgument_InvalidAxis(); 959ThrowHelper.ThrowArgument_InvalidConcatenateShape(); 965ThrowHelper.ThrowArgument_InvalidConcatenateShape(); 1119ThrowHelper.ThrowArgument_TransposeTooFewDimensions(); 1158ThrowHelper.ThrowArgument_PermuteAxisOrder(); 1761ThrowHelper.ThrowArgument_2DTensorRequired(nameof(left)); 1764ThrowHelper.ThrowArgument_2DTensorRequired(nameof(right)); 1767ThrowHelper.ThrowArgument_IncompatibleDimensions(left.Lengths[1], right.Lengths[1]); 3042ThrowHelper.ThrowArgument_InPlaceInvalidShape();
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertHelpers.cs (1)
25ThrowHelper.ThrowArgument_DestinationTooShort();
System\Numerics\Tensors\netcore\TensorPrimitives.CosineSimilarity.cs (2)
40ThrowHelper.ThrowArgument_SpansMustBeNonEmpty(); 45ThrowHelper.ThrowArgument_SpansMustHaveSameLength();
System\Numerics\Tensors\netcore\TensorPrimitives.Distance.cs (1)
39ThrowHelper.ThrowArgument_SpansMustBeNonEmpty();
System\Numerics\Tensors\netcore\TensorPrimitives.HammingDistance.cs (2)
24ThrowHelper.ThrowArgument_SpansMustHaveSameLength(); 67ThrowHelper.ThrowArgument_SpansMustHaveSameLength();
System\Numerics\Tensors\netcore\TensorPrimitives.Max.cs (1)
288ThrowHelper.ThrowArgument_SpansMustBeNonEmpty();
System\Numerics\Tensors\netcore\TensorPrimitives.Product.cs (3)
26ThrowHelper.ThrowArgument_SpansMustBeNonEmpty(); 58ThrowHelper.ThrowArgument_SpansMustBeNonEmpty(); 90ThrowHelper.ThrowArgument_SpansMustBeNonEmpty();
System\Numerics\Tensors\netcore\TensorPrimitives.Sigmoid.cs (1)
30ThrowHelper.ThrowArgument_SpansMustBeNonEmpty();
System\Numerics\Tensors\netcore\TensorPrimitives.SoftMax.cs (2)
29ThrowHelper.ThrowArgument_SpansMustBeNonEmpty(); 34ThrowHelper.ThrowArgument_DestinationTooShort();
System\Numerics\Tensors\netcore\TensorSpan.cs (25)
91ThrowHelper.ThrowArgumentOutOfRangeException(); 96ThrowHelper.ThrowArrayTypeMismatchException(); 106ThrowHelper.ThrowArgument_InvalidStridesAndLengths(); 111ThrowHelper.ThrowArgument_InvalidStridesAndLengths(); 148ThrowHelper.ThrowArgument_InvalidStridesAndLengths(); 183ThrowHelper.ThrowArgumentOutOfRangeException(); 188ThrowHelper.ThrowArrayTypeMismatchException(); 199ThrowHelper.ThrowArgumentOutOfRangeException(); 204ThrowHelper.ThrowArgumentOutOfRangeException(); 234ThrowHelper.ThrowArgumentOutOfRangeException(); 239ThrowHelper.ThrowArrayTypeMismatchException(); 247ThrowHelper.ThrowArgumentOutOfRangeException(); 252ThrowHelper.ThrowArgumentOutOfRangeException(); 293ThrowHelper.ThrowArgumentOutOfRangeException(); 296ThrowHelper.ThrowInvalidTypeWithPointersNotSupported(typeof(T)); 308ThrowHelper.ThrowArgument_InvalidStridesAndLengths(); 345ThrowHelper.ThrowIndexOutOfRangeException(); 349ThrowHelper.ThrowIndexOutOfRangeException(); 370ThrowHelper.ThrowIndexOutOfRangeException(); 374ThrowHelper.ThrowIndexOutOfRangeException(); 598ThrowHelper.ThrowArgumentException_DestinationTooShort(); 729ThrowHelper.ThrowIndexOutOfRangeException(); 743ThrowHelper.ThrowIndexOutOfRangeException(); 749ThrowHelper.ThrowIndexOutOfRangeException(); 798ThrowHelper.ThrowArgumentException_DestinationTooShort();
System\Numerics\Tensors\netcore\TensorSpanExtensions.cs (10)
156ThrowHelper.ThrowArgument_ShapesNotBroadcastCompatible(); 276ThrowHelper.ThrowArgument_OnlyOneWildcard(); 291ThrowHelper.ThrowArgument_InvalidReshapeDimensions(); 332ThrowHelper.ThrowArgument_AxisLargerThanRank(); 354ThrowHelper.ThrowArgument_InvalidSqueezeAxis(); 382ThrowHelper.ThrowArgument_AxisLargerThanRank(); 1016ThrowHelper.ThrowArgument_2DTensorRequired(nameof(left)); 1019ThrowHelper.ThrowArgument_2DTensorRequired(nameof(right)); 1022ThrowHelper.ThrowArgument_IncompatibleDimensions(left.Lengths[1], right.Lengths[1]); 2331ThrowHelper.ThrowArgument_InPlaceInvalidShape();
System\Numerics\Tensors\netcore\TensorSpanHelpers.cs (9)
30ThrowHelper.ThrowArgumentOutOfRangeException(); 35ThrowHelper.ThrowArgumentOutOfRangeException(); 102ThrowHelper.ThrowIndexOutOfRangeException(); 139ThrowHelper.ThrowIndexOutOfRangeException(); 164ThrowHelper.ThrowIndexOutOfRangeException(); 187ThrowHelper.ThrowIndexOutOfRangeException(); 202ThrowHelper.ThrowArgument_StrideLessThan0(); 209ThrowHelper.ThrowArgument_StrideLessThan0(); 211ThrowHelper.ThrowArgument_StrideLessThan0();
System\Numerics\Tensors\TensorPrimitives.Helpers.cs (1)
23ThrowHelper.ThrowArgument_InputAndDestinationSpanMustNotOverlap();
System\Numerics\Tensors\TensorPrimitives.Single.cs (7)
203ThrowHelper.ThrowArgument_SpansMustBeNonEmpty(); 715ThrowHelper.ThrowArgument_SpansMustBeNonEmpty(); 746ThrowHelper.ThrowArgument_SpansMustBeNonEmpty(); 777ThrowHelper.ThrowArgument_SpansMustBeNonEmpty(); 802ThrowHelper.ThrowArgument_SpansMustBeNonEmpty(); 852ThrowHelper.ThrowArgument_SpansMustBeNonEmpty(); 857ThrowHelper.ThrowArgument_DestinationTooShort();