You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updates URLs that were pointing to incorrect paths:
1. Random functions (12 URLs): Added /random/ directory
- reference/generated/numpy.random.* → reference/random/generated/numpy.random.*
2. arrays.indexing (1 URL): Corrected section path
- reference/arrays.indexing.html → user/basics.indexing.html
3. c-api.dtype (1 URL): Fixed path format
- reference/c-api.dtype.html → reference/c-api/dtype.html
4. routines.random (1 URL): Updated to new location
- reference/routines.random.html → reference/random/index.html
5. asscalar (6 URLs): Function removed in NumPy 1.23, now links to replacement
- numpy.asscalar.html → numpy.ndarray.item.html
6. find_common_type (6 URLs): Function deprecated, now links to replacement
- numpy.find_common_type.html → numpy.result_type.html
7. itemset (4 URLs): Function removed in NumPy 2.4, now links to alternative
- numpy.ndarray.itemset.html → numpy.put.html
All 126 URLs now return HTTP 200.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
/// <param name="array_types">A list of dtypes or dtype convertible objects representing arrays. Can be null.</param>
645
645
/// <param name="scalar_types">A list of dtypes or dtype convertible objects representing scalars.Can be null.</param>
646
646
/// <returns>The common data type, which is the maximum of array_types ignoring scalar_types, unless the maximum of scalar_types is of a different kind (dtype.kind). If the kind is not understood, then None is returned.</returns>
@@ -658,7 +658,7 @@ public static NPTypeCode find_common_type(NPTypeCode[] array_types, NPTypeCode[]
658
658
/// <param name="array_types">A list of dtypes or dtype convertible objects representing arrays. Can be null.</param>
659
659
/// <param name="scalar_types">A list of dtypes or dtype convertible objects representing scalars.Can be null.</param>
660
660
/// <returns>The common data type, which is the maximum of array_types ignoring scalar_types, unless the maximum of scalar_types is of a different kind (dtype.kind). If the kind is not understood, then None is returned.</returns>
@@ -670,7 +670,7 @@ public static NPTypeCode find_common_type(Type[] array_types)
670
670
/// <param name="array_types">A list of dtypes or dtype convertible objects representing arrays. Can be null.</param>
671
671
/// <param name="scalar_types">A list of dtypes or dtype convertible objects representing scalars.Can be null.</param>
672
672
/// <returns>The common data type, which is the maximum of array_types ignoring scalar_types, unless the maximum of scalar_types is of a different kind (dtype.kind). If the kind is not understood, then None is returned.</returns>
/// <param name="array_types">A list of dtypes or dtype convertible objects representing arrays. Can be null.</param>
683
683
/// <param name="scalar_types">A list of dtypes or dtype convertible objects representing scalars.Can be null.</param>
684
684
/// <returns>The common data type, which is the maximum of array_types ignoring scalar_types, unless the maximum of scalar_types is of a different kind (dtype.kind). If the kind is not understood, then None is returned.</returns>
/// <param name="array_types">A list of dtypes or dtype convertible objects representing arrays. Can be null.</param>
695
695
/// <param name="scalar_types">A list of dtypes or dtype convertible objects representing scalars.Can be null.</param>
696
696
/// <returns>The common data type, which is the maximum of array_types ignoring scalar_types, unless the maximum of scalar_types is of a different kind (dtype.kind). If the kind is not understood, then None is returned.</returns>
/// <param name="array_types">A list of dtypes or dtype convertible objects representing arrays. Can be null.</param>
707
707
/// <param name="scalar_types">A list of dtypes or dtype convertible objects representing scalars.Can be null.</param>
708
708
/// <returns>The common data type, which is the maximum of array_types ignoring scalar_types, unless the maximum of scalar_types is of a different kind (dtype.kind). If the kind is not understood, then None is returned.</returns>
Copy file name to clipboardExpand all lines: src/NumSharp.Core/RandomSampling/np.random.binomial.cs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ public partial class NumPyRandom
17
17
/// <param name="p">Parameter of the distribution, >= 0 and <=1.</param>
18
18
/// <param name="shape">Output Shape</param>
19
19
/// <returns>Drawn samples from the parameterized binomial distribution, where each sample is equal to the number of successes over the n trials.</returns>
@@ -28,7 +28,7 @@ public partial class NumPyRandom
28
28
/// <param name="p">Parameter of the distribution, >= 0 and <=1.</param>
29
29
/// <param name="dims">Output Shape</param>
30
30
/// <returns>Drawn samples from the parameterized binomial distribution, where each sample is equal to the number of successes over the n trials.</returns>
Copy file name to clipboardExpand all lines: src/NumSharp.Core/RandomSampling/np.random.choice.cs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ public partial class NumPyRandom
9
9
/// <param name="shape">Output shape. If the given shape is, e.g., (m, n, k), then m * n * k samples are drawn. Default is None, in which case a single value is returned.</param>
10
10
/// <param name="replace">Whether the sample is with or without replacement</param>
11
11
/// <param name="probabilities">The probabilities associated with each entry in a. If not given the sample assumes a uniform distribution over all entries in a.</param>
@@ -24,7 +24,7 @@ public NDArray choice(NDArray arr, Shape shape = default, bool replace = true, d
24
24
/// <param name="shape">Output shape. If the given shape is, e.g., (m, n, k), then m * n * k samples are drawn. Default is None, in which case a single value is returned.</param>
25
25
/// <param name="replace">Whether the sample is with or without replacement</param>
26
26
/// <param name="probabilities">The probabilities associated with each entry in a. If not given the sample assumes a uniform distribution over all entries in a.</param>
0 commit comments