@@ -2734,7 +2734,7 @@ class ndarray(_ArrayOrScalarCommon, Generic[_ShapeT_co, _DType_co]):
2734
2734
@overload
2735
2735
def __mod__ (self :NDArray [np .bool ],other :_ArrayLike [_RealNumberT ],/ )-> NDArray [_RealNumberT ]: ...# type: ignore[overload-overlap]
2736
2736
@overload
2737
- def __mod__ (self :NDArray [floating [ _64Bit ] ],other :_ArrayLikeFloat64_co ,/ )-> NDArray [float64 ]: ...
2737
+ def __mod__ (self :NDArray [float64 ],other :_ArrayLikeFloat64_co ,/ )-> NDArray [float64 ]: ...
2738
2738
@overload
2739
2739
def __mod__ (self :_ArrayFloat64_co ,other :_ArrayLike [floating [_64Bit ]],/ )-> NDArray [float64 ]: ...
2740
2740
@overload
@@ -2759,7 +2759,7 @@ class ndarray(_ArrayOrScalarCommon, Generic[_ShapeT_co, _DType_co]):
2759
2759
@overload
2760
2760
def __rmod__ (self :NDArray [np .bool ],other :_ArrayLike [_RealNumberT ],/ )-> NDArray [_RealNumberT ]: ...# type: ignore[overload-overlap]
2761
2761
@overload
2762
- def __rmod__ (self :NDArray [floating [ _64Bit ] ],other :_ArrayLikeFloat64_co ,/ )-> NDArray [float64 ]: ...
2762
+ def __rmod__ (self :NDArray [float64 ],other :_ArrayLikeFloat64_co ,/ )-> NDArray [float64 ]: ...
2763
2763
@overload
2764
2764
def __rmod__ (self :_ArrayFloat64_co ,other :_ArrayLike [floating [_64Bit ]],/ )-> NDArray [float64 ]: ...
2765
2765
@overload
@@ -2784,7 +2784,7 @@ class ndarray(_ArrayOrScalarCommon, Generic[_ShapeT_co, _DType_co]):
2784
2784
@overload
2785
2785
def __divmod__ (self :NDArray [np .bool ],rhs :_ArrayLike [_RealNumberT ],/ )-> _2Tuple [NDArray [_RealNumberT ]]: ...# type: ignore[overload-overlap]
2786
2786
@overload
2787
- def __divmod__ (self :NDArray [floating [ _64Bit ] ],rhs :_ArrayLikeFloat64_co ,/ )-> _2Tuple [NDArray [float64 ]]: ...
2787
+ def __divmod__ (self :NDArray [float64 ],rhs :_ArrayLikeFloat64_co ,/ )-> _2Tuple [NDArray [float64 ]]: ...
2788
2788
@overload
2789
2789
def __divmod__ (self :_ArrayFloat64_co ,rhs :_ArrayLike [floating [_64Bit ]],/ )-> _2Tuple [NDArray [float64 ]]: ...
2790
2790
@overload
@@ -2805,7 +2805,7 @@ class ndarray(_ArrayOrScalarCommon, Generic[_ShapeT_co, _DType_co]):
2805
2805
@overload
2806
2806
def __rdivmod__ (self :NDArray [np .bool ],lhs :_ArrayLike [_RealNumberT ],/ )-> _2Tuple [NDArray [_RealNumberT ]]: ...# type: ignore[overload-overlap]
2807
2807
@overload
2808
- def __rdivmod__ (self :NDArray [floating [ _64Bit ] ],lhs :_ArrayLikeFloat64_co ,/ )-> _2Tuple [NDArray [float64 ]]: ...
2808
+ def __rdivmod__ (self :NDArray [float64 ],lhs :_ArrayLikeFloat64_co ,/ )-> _2Tuple [NDArray [float64 ]]: ...
2809
2809
@overload
2810
2810
def __rdivmod__ (self :_ArrayFloat64_co ,lhs :_ArrayLike [floating [_64Bit ]],/ )-> _2Tuple [NDArray [float64 ]]: ...
2811
2811
@overload
@@ -2826,11 +2826,11 @@ class ndarray(_ArrayOrScalarCommon, Generic[_ShapeT_co, _DType_co]):
2826
2826
@overload
2827
2827
def __add__ (self :NDArray [np .bool ],other :_ArrayLike [_NumberT ],/ )-> NDArray [_NumberT ]: ...# type: ignore[overload-overlap]
2828
2828
@overload
2829
- def __add__ (self :NDArray [floating [ _64Bit ] ],other :_ArrayLikeFloat64_co ,/ )-> NDArray [float64 ]: ...
2829
+ def __add__ (self :NDArray [float64 ],other :_ArrayLikeFloat64_co ,/ )-> NDArray [float64 ]: ...
2830
2830
@overload
2831
2831
def __add__ (self :_ArrayFloat64_co ,other :_ArrayLike [floating [_64Bit ]],/ )-> NDArray [float64 ]: ...
2832
2832
@overload
2833
- def __add__ (self :NDArray [complexfloating [ _64Bit ] ],other :_ArrayLikeComplex128_co ,/ )-> NDArray [complex128 ]: ...
2833
+ def __add__ (self :NDArray [complex128 ],other :_ArrayLikeComplex128_co ,/ )-> NDArray [complex128 ]: ...
2834
2834
@overload
2835
2835
def __add__ (self :_ArrayComplex128_co ,other :_ArrayLike [complexfloating [_64Bit ]],/ )-> NDArray [complex128 ]: ...
2836
2836
@overload
@@ -2863,11 +2863,11 @@ class ndarray(_ArrayOrScalarCommon, Generic[_ShapeT_co, _DType_co]):
2863
2863
@overload
2864
2864
def __radd__ (self :NDArray [np .bool ],other :_ArrayLike [_NumberT ],/ )-> NDArray [_NumberT ]: ...# type: ignore[overload-overlap]
2865
2865
@overload
2866
- def __radd__ (self :NDArray [floating [ _64Bit ] ],other :_ArrayLikeFloat64_co ,/ )-> NDArray [float64 ]: ...
2866
+ def __radd__ (self :NDArray [float64 ],other :_ArrayLikeFloat64_co ,/ )-> NDArray [float64 ]: ...
2867
2867
@overload
2868
2868
def __radd__ (self :_ArrayFloat64_co ,other :_ArrayLike [floating [_64Bit ]],/ )-> NDArray [float64 ]: ...
2869
2869
@overload
2870
- def __radd__ (self :NDArray [complexfloating [ _64Bit ] ],other :_ArrayLikeComplex128_co ,/ )-> NDArray [complex128 ]: ...
2870
+ def __radd__ (self :NDArray [complex128 ],other :_ArrayLikeComplex128_co ,/ )-> NDArray [complex128 ]: ...
2871
2871
@overload
2872
2872
def __radd__ (self :_ArrayComplex128_co ,other :_ArrayLike [complexfloating [_64Bit ]],/ )-> NDArray [complex128 ]: ...
2873
2873
@overload
@@ -2900,11 +2900,11 @@ class ndarray(_ArrayOrScalarCommon, Generic[_ShapeT_co, _DType_co]):
2900
2900
@overload
2901
2901
def __sub__ (self :NDArray [np .bool ],other :_ArrayLike [_NumberT ],/ )-> NDArray [_NumberT ]: ...# type: ignore[overload-overlap]
2902
2902
@overload
2903
- def __sub__ (self :NDArray [floating [ _64Bit ] ],other :_ArrayLikeFloat64_co ,/ )-> NDArray [float64 ]: ...
2903
+ def __sub__ (self :NDArray [float64 ],other :_ArrayLikeFloat64_co ,/ )-> NDArray [float64 ]: ...
2904
2904
@overload
2905
2905
def __sub__ (self :_ArrayFloat64_co ,other :_ArrayLike [floating [_64Bit ]],/ )-> NDArray [float64 ]: ...
2906
2906
@overload
2907
- def __sub__ (self :NDArray [complexfloating [ _64Bit ] ],other :_ArrayLikeComplex128_co ,/ )-> NDArray [complex128 ]: ...
2907
+ def __sub__ (self :NDArray [complex128 ],other :_ArrayLikeComplex128_co ,/ )-> NDArray [complex128 ]: ...
2908
2908
@overload
2909
2909
def __sub__ (self :_ArrayComplex128_co ,other :_ArrayLike [complexfloating [_64Bit ]],/ )-> NDArray [complex128 ]: ...
2910
2910
@overload
@@ -2937,11 +2937,11 @@ class ndarray(_ArrayOrScalarCommon, Generic[_ShapeT_co, _DType_co]):
2937
2937
@overload
2938
2938
def __rsub__ (self :NDArray [np .bool ],other :_ArrayLike [_NumberT ],/ )-> NDArray [_NumberT ]: ...# type: ignore[overload-overlap]
2939
2939
@overload
2940
- def __rsub__ (self :NDArray [floating [ _64Bit ] ],other :_ArrayLikeFloat64_co ,/ )-> NDArray [float64 ]: ...
2940
+ def __rsub__ (self :NDArray [float64 ],other :_ArrayLikeFloat64_co ,/ )-> NDArray [float64 ]: ...
2941
2941
@overload
2942
2942
def __rsub__ (self :_ArrayFloat64_co ,other :_ArrayLike [floating [_64Bit ]],/ )-> NDArray [float64 ]: ...
2943
2943
@overload
2944
- def __rsub__ (self :NDArray [complexfloating [ _64Bit ] ],other :_ArrayLikeComplex128_co ,/ )-> NDArray [complex128 ]: ...
2944
+ def __rsub__ (self :NDArray [complex128 ],other :_ArrayLikeComplex128_co ,/ )-> NDArray [complex128 ]: ...
2945
2945
@overload
2946
2946
def __rsub__ (self :_ArrayComplex128_co ,other :_ArrayLike [complexfloating [_64Bit ]],/ )-> NDArray [complex128 ]: ...
2947
2947
@overload
@@ -2974,11 +2974,11 @@ class ndarray(_ArrayOrScalarCommon, Generic[_ShapeT_co, _DType_co]):
2974
2974
@overload
2975
2975
def __mul__ (self :NDArray [np .bool ],other :_ArrayLike [_NumberT ],/ )-> NDArray [_NumberT ]: ...# type: ignore[overload-overlap]
2976
2976
@overload
2977
- def __mul__ (self :NDArray [floating [ _64Bit ] ],other :_ArrayLikeFloat64_co ,/ )-> NDArray [float64 ]: ...
2977
+ def __mul__ (self :NDArray [float64 ],other :_ArrayLikeFloat64_co ,/ )-> NDArray [float64 ]: ...
2978
2978
@overload
2979
2979
def __mul__ (self :_ArrayFloat64_co ,other :_ArrayLike [floating [_64Bit ]],/ )-> NDArray [float64 ]: ...
2980
2980
@overload
2981
- def __mul__ (self :NDArray [complexfloating [ _64Bit ] ],other :_ArrayLikeComplex128_co ,/ )-> NDArray [complex128 ]: ...
2981
+ def __mul__ (self :NDArray [complex128 ],other :_ArrayLikeComplex128_co ,/ )-> NDArray [complex128 ]: ...
2982
2982
@overload
2983
2983
def __mul__ (self :_ArrayComplex128_co ,other :_ArrayLike [complexfloating [_64Bit ]],/ )-> NDArray [complex128 ]: ...
2984
2984
@overload
@@ -3009,11 +3009,11 @@ class ndarray(_ArrayOrScalarCommon, Generic[_ShapeT_co, _DType_co]):
3009
3009
@overload
3010
3010
def __rmul__ (self :NDArray [np .bool ],other :_ArrayLike [_NumberT ],/ )-> NDArray [_NumberT ]: ...# type: ignore[overload-overlap]
3011
3011
@overload
3012
- def __rmul__ (self :NDArray [floating [ _64Bit ] ],other :_ArrayLikeFloat64_co ,/ )-> NDArray [float64 ]: ...
3012
+ def __rmul__ (self :NDArray [float64 ],other :_ArrayLikeFloat64_co ,/ )-> NDArray [float64 ]: ...
3013
3013
@overload
3014
3014
def __rmul__ (self :_ArrayFloat64_co ,other :_ArrayLike [floating [_64Bit ]],/ )-> NDArray [float64 ]: ...
3015
3015
@overload
3016
- def __rmul__ (self :NDArray [complexfloating [ _64Bit ] ],other :_ArrayLikeComplex128_co ,/ )-> NDArray [complex128 ]: ...
3016
+ def __rmul__ (self :NDArray [complex128 ],other :_ArrayLikeComplex128_co ,/ )-> NDArray [complex128 ]: ...
3017
3017
@overload
3018
3018
def __rmul__ (self :_ArrayComplex128_co ,other :_ArrayLike [complexfloating [_64Bit ]],/ )-> NDArray [complex128 ]: ...
3019
3019
@overload
@@ -3036,11 +3036,11 @@ class ndarray(_ArrayOrScalarCommon, Generic[_ShapeT_co, _DType_co]):
3036
3036
def __rmul__ (self :NDArray [Any ],other :_ArrayLikeObject_co ,/ )-> Any : ...
3037
3037
3038
3038
@overload
3039
- def __truediv__ (self :_ArrayInt_co | NDArray [floating [ _64Bit ] ],other :_ArrayLikeFloat64_co ,/ )-> NDArray [float64 ]: ...
3039
+ def __truediv__ (self :_ArrayInt_co | NDArray [float64 ],other :_ArrayLikeFloat64_co ,/ )-> NDArray [float64 ]: ...
3040
3040
@overload
3041
3041
def __truediv__ (self :_ArrayFloat64_co ,other :_ArrayLikeInt_co | _ArrayLike [floating [_64Bit ]],/ )-> NDArray [float64 ]: ...
3042
3042
@overload
3043
- def __truediv__ (self :NDArray [complexfloating [ _64Bit ] ],other :_ArrayLikeComplex128_co ,/ )-> NDArray [complex128 ]: ...
3043
+ def __truediv__ (self :NDArray [complex128 ],other :_ArrayLikeComplex128_co ,/ )-> NDArray [complex128 ]: ...
3044
3044
@overload
3045
3045
def __truediv__ (self :_ArrayComplex128_co ,other :_ArrayLike [complexfloating [_64Bit ]],/ )-> NDArray [complex128 ]: ...
3046
3046
@overload
@@ -3067,11 +3067,11 @@ class ndarray(_ArrayOrScalarCommon, Generic[_ShapeT_co, _DType_co]):
3067
3067
def __truediv__ (self :NDArray [Any ],other :_ArrayLikeObject_co ,/ )-> Any : ...
3068
3068
3069
3069
@overload
3070
- def __rtruediv__ (self :_ArrayInt_co | NDArray [floating [ _64Bit ] ],other :_ArrayLikeFloat64_co ,/ )-> NDArray [float64 ]: ...
3070
+ def __rtruediv__ (self :_ArrayInt_co | NDArray [float64 ],other :_ArrayLikeFloat64_co ,/ )-> NDArray [float64 ]: ...
3071
3071
@overload
3072
3072
def __rtruediv__ (self :_ArrayFloat64_co ,other :_ArrayLikeInt_co | _ArrayLike [floating [_64Bit ]],/ )-> NDArray [float64 ]: ...
3073
3073
@overload
3074
- def __rtruediv__ (self :NDArray [complexfloating [ _64Bit ] ],other :_ArrayLikeComplex128_co ,/ )-> NDArray [complex128 ]: ...
3074
+ def __rtruediv__ (self :NDArray [complex128 ],other :_ArrayLikeComplex128_co ,/ )-> NDArray [complex128 ]: ...
3075
3075
@overload
3076
3076
def __rtruediv__ (self :_ArrayComplex128_co ,other :_ArrayLike [complexfloating [_64Bit ]],/ )-> NDArray [complex128 ]: ...
3077
3077
@overload
@@ -3104,7 +3104,7 @@ class ndarray(_ArrayOrScalarCommon, Generic[_ShapeT_co, _DType_co]):
3104
3104
@overload
3105
3105
def __floordiv__ (self :NDArray [np .bool ],other :_ArrayLike [_RealNumberT ],/ )-> NDArray [_RealNumberT ]: ...# type: ignore[overload-overlap]
3106
3106
@overload
3107
- def __floordiv__ (self :NDArray [floating [ _64Bit ] ],other :_ArrayLikeFloat64_co ,/ )-> NDArray [float64 ]: ...
3107
+ def __floordiv__ (self :NDArray [float64 ],other :_ArrayLikeFloat64_co ,/ )-> NDArray [float64 ]: ...
3108
3108
@overload
3109
3109
def __floordiv__ (self :_ArrayFloat64_co ,other :_ArrayLike [floating [_64Bit ]],/ )-> NDArray [float64 ]: ...
3110
3110
@overload
@@ -3133,7 +3133,7 @@ class ndarray(_ArrayOrScalarCommon, Generic[_ShapeT_co, _DType_co]):
3133
3133
@overload
3134
3134
def __rfloordiv__ (self :NDArray [np .bool ],other :_ArrayLike [_RealNumberT ],/ )-> NDArray [_RealNumberT ]: ...# type: ignore[overload-overlap]
3135
3135
@overload
3136
- def __rfloordiv__ (self :NDArray [floating [ _64Bit ] ],other :_ArrayLikeFloat64_co ,/ )-> NDArray [float64 ]: ...
3136
+ def __rfloordiv__ (self :NDArray [float64 ],other :_ArrayLikeFloat64_co ,/ )-> NDArray [float64 ]: ...
3137
3137
@overload
3138
3138
def __rfloordiv__ (self :_ArrayFloat64_co ,other :_ArrayLike [floating [_64Bit ]],/ )-> NDArray [float64 ]: ...
3139
3139
@overload
@@ -3160,11 +3160,11 @@ class ndarray(_ArrayOrScalarCommon, Generic[_ShapeT_co, _DType_co]):
3160
3160
@overload
3161
3161
def __pow__ (self :NDArray [np .bool ],other :_ArrayLike [_NumberT ],/ )-> NDArray [_NumberT ]: ...# type: ignore[overload-overlap]
3162
3162
@overload
3163
- def __pow__ (self :NDArray [floating [ _64Bit ] ],other :_ArrayLikeFloat64_co ,/ )-> NDArray [float64 ]: ...
3163
+ def __pow__ (self :NDArray [float64 ],other :_ArrayLikeFloat64_co ,/ )-> NDArray [float64 ]: ...
3164
3164
@overload
3165
3165
def __pow__ (self :_ArrayFloat64_co ,other :_ArrayLike [floating [_64Bit ]],/ )-> NDArray [float64 ]: ...
3166
3166
@overload
3167
- def __pow__ (self :NDArray [complexfloating [ _64Bit ] ],other :_ArrayLikeComplex128_co ,/ )-> NDArray [complex128 ]: ...
3167
+ def __pow__ (self :NDArray [complex128 ],other :_ArrayLikeComplex128_co ,/ )-> NDArray [complex128 ]: ...
3168
3168
@overload
3169
3169
def __pow__ (self :_ArrayComplex128_co ,other :_ArrayLike [complexfloating [_64Bit ]],/ )-> NDArray [complex128 ]: ...
3170
3170
@overload
@@ -3191,11 +3191,11 @@ class ndarray(_ArrayOrScalarCommon, Generic[_ShapeT_co, _DType_co]):
3191
3191
@overload
3192
3192
def __rpow__ (self :NDArray [np .bool ],other :_ArrayLike [_NumberT ],/ )-> NDArray [_NumberT ]: ...# type: ignore[overload-overlap]
3193
3193
@overload
3194
- def __rpow__ (self :NDArray [floating [ _64Bit ] ],other :_ArrayLikeFloat64_co ,/ )-> NDArray [float64 ]: ...
3194
+ def __rpow__ (self :NDArray [float64 ],other :_ArrayLikeFloat64_co ,/ )-> NDArray [float64 ]: ...
3195
3195
@overload
3196
3196
def __rpow__ (self :_ArrayFloat64_co ,other :_ArrayLike [floating [_64Bit ]],/ )-> NDArray [float64 ]: ...
3197
3197
@overload
3198
- def __rpow__ (self :NDArray [complexfloating [ _64Bit ] ],other :_ArrayLikeComplex128_co ,/ )-> NDArray [complex128 ]: ...
3198
+ def __rpow__ (self :NDArray [complex128 ],other :_ArrayLikeComplex128_co ,/ )-> NDArray [complex128 ]: ...
3199
3199
@overload
3200
3200
def __rpow__ (self :_ArrayComplex128_co ,other :_ArrayLike [complexfloating [_64Bit ]],/ )-> NDArray [complex128 ]: ...
3201
3201
@overload