Skip to content

Commit 8d78589

Browse files
Improve handling of large values by inverse hyperbolic and trigonometric functions 9c8422c
1 parent 10caf04 commit 8d78589

1,604 files changed

Lines changed: 4782 additions & 4873 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

pull/2928/.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file records the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: 4b93c8a98f3591519b5649d88fb760e1
3+
config: ccb9676684755343ce57602892065b9f
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

pull/2928/_modules/dpnp/dpnp_array.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
</script>
1515

1616
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
17-
<title>dpnp.dpnp_array &mdash; Data Parallel Extension for NumPy 0.21.0dev0+54.g6de8359fe50 documentation</title>
17+
<title>dpnp.dpnp_array &mdash; Data Parallel Extension for NumPy 0.21.0dev1+33.g9c8422ce329 documentation</title>
1818
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=03e43079" />
1919
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=9edc463e" />
2020

2121

2222
<script src="../../_static/jquery.js?v=5d32c60e"></script>
2323
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
24-
<script src="../../_static/documentation_options.js?v=e9834f9c"></script>
24+
<script src="../../_static/documentation_options.js?v=672ae725"></script>
2525
<script src="../../_static/doctools.js?v=9bcbadda"></script>
2626
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
2727
<script src="../../_static/js/theme.js"></script>
@@ -1948,7 +1948,7 @@ <h1>Source code for dpnp.dpnp_array</h1><div class="highlight"><pre>
19481948
<a class="viewcode-back" href="../../reference/generated/dpnp.dpnp_array.dpnp_array.reshape.html#dpnp.dpnp_array.dpnp_array.reshape">[docs]</a>
19491949
<span class="k">def</span><span class="w"> </span><span class="nf">reshape</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="o">/</span><span class="p">,</span> <span class="o">*</span><span class="n">shape</span><span class="p">,</span> <span class="n">order</span><span class="o">=</span><span class="s2">&quot;C&quot;</span><span class="p">,</span> <span class="n">copy</span><span class="o">=</span><span class="kc">None</span><span class="p">):</span>
19501950
<span class="w"> </span><span class="sd">&quot;&quot;&quot;</span>
1951-
<span class="sd"> Return an array containing the same data with a new shape.</span>
1951+
<span class="sd"> Return a reshaped array without changing data.</span>
19521952

19531953
<span class="sd"> Refer to :obj:`dpnp.reshape` for full documentation.</span>
19541954

@@ -2606,6 +2606,7 @@ <h1>Source code for dpnp.dpnp_array</h1><div class="highlight"><pre>
26062606
<span class="sd"> * ``tuple or list of ints``: `i` in the `j`-th place in the</span>
26072607
<span class="sd"> tuple/list means that the array’s `i`-th axis becomes the</span>
26082608
<span class="sd"> transposed array’s `j`-th axis.</span>
2609+
<span class="sd"> Negative indices can also be used to specify axes.</span>
26092610
<span class="sd"> * ``n ints``: same as an n-tuple/n-list of the same integers (this</span>
26102611
<span class="sd"> form is intended simply as a “convenience” alternative to the</span>
26112612
<span class="sd"> tuple form).</span>
@@ -2620,8 +2621,8 @@ <h1>Source code for dpnp.dpnp_array</h1><div class="highlight"><pre>
26202621
<span class="sd"> :obj:`dpnp.transpose` : Equivalent function.</span>
26212622
<span class="sd"> :obj:`dpnp.ndarray.ndarray.T` : Array property returning the array</span>
26222623
<span class="sd"> transposed.</span>
2623-
<span class="sd"> :obj:`dpnp.ndarray.reshape` : Give a new shape to an array without</span>
2624-
<span class="sd"> changing its data.</span>
2624+
<span class="sd"> :obj:`dpnp.ndarray.reshape` : Return a reshaped ndarray without</span>
2625+
<span class="sd"> changing data.</span>
26252626

26262627
<span class="sd"> Examples</span>
26272628
<span class="sd"> --------</span>

pull/2928/_modules/dpnp/dpnp_array_api_info.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
</script>
1515

1616
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
17-
<title>dpnp.dpnp_array_api_info &mdash; Data Parallel Extension for NumPy 0.21.0dev0+54.g6de8359fe50 documentation</title>
17+
<title>dpnp.dpnp_array_api_info &mdash; Data Parallel Extension for NumPy 0.21.0dev1+33.g9c8422ce329 documentation</title>
1818
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=03e43079" />
1919
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=9edc463e" />
2020

2121

2222
<script src="../../_static/jquery.js?v=5d32c60e"></script>
2323
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
24-
<script src="../../_static/documentation_options.js?v=e9834f9c"></script>
24+
<script src="../../_static/documentation_options.js?v=672ae725"></script>
2525
<script src="../../_static/doctools.js?v=9bcbadda"></script>
2626
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
2727
<script src="../../_static/js/theme.js"></script>

pull/2928/_modules/dpnp/dpnp_flatiter.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
</script>
1515

1616
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
17-
<title>dpnp.dpnp_flatiter &mdash; Data Parallel Extension for NumPy 0.21.0dev0+54.g6de8359fe50 documentation</title>
17+
<title>dpnp.dpnp_flatiter &mdash; Data Parallel Extension for NumPy 0.21.0dev1+33.g9c8422ce329 documentation</title>
1818
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=03e43079" />
1919
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=9edc463e" />
2020

2121

2222
<script src="../../_static/jquery.js?v=5d32c60e"></script>
2323
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
24-
<script src="../../_static/documentation_options.js?v=e9834f9c"></script>
24+
<script src="../../_static/documentation_options.js?v=672ae725"></script>
2525
<script src="../../_static/doctools.js?v=9bcbadda"></script>
2626
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
2727
<script src="../../_static/js/theme.js"></script>

pull/2928/_modules/dpnp/dpnp_iface.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
</script>
1515

1616
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
17-
<title>dpnp.dpnp_iface &mdash; Data Parallel Extension for NumPy 0.21.0dev0+54.g6de8359fe50 documentation</title>
17+
<title>dpnp.dpnp_iface &mdash; Data Parallel Extension for NumPy 0.21.0dev1+33.g9c8422ce329 documentation</title>
1818
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=03e43079" />
1919
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=9edc463e" />
2020

2121

2222
<script src="../../_static/jquery.js?v=5d32c60e"></script>
2323
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
24-
<script src="../../_static/documentation_options.js?v=e9834f9c"></script>
24+
<script src="../../_static/documentation_options.js?v=672ae725"></script>
2525
<script src="../../_static/doctools.js?v=9bcbadda"></script>
2626
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
2727
<script src="../../_static/js/theme.js"></script>

pull/2928/_modules/dpnp/dpnp_iface_arraycreation.html

Lines changed: 26 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
</script>
1515

1616
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
17-
<title>dpnp.dpnp_iface_arraycreation &mdash; Data Parallel Extension for NumPy 0.21.0dev0+54.g6de8359fe50 documentation</title>
17+
<title>dpnp.dpnp_iface_arraycreation &mdash; Data Parallel Extension for NumPy 0.21.0dev1+33.g9c8422ce329 documentation</title>
1818
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=03e43079" />
1919
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=9edc463e" />
2020

2121

2222
<script src="../../_static/jquery.js?v=5d32c60e"></script>
2323
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
24-
<script src="../../_static/documentation_options.js?v=e9834f9c"></script>
24+
<script src="../../_static/documentation_options.js?v=672ae725"></script>
2525
<script src="../../_static/doctools.js?v=9bcbadda"></script>
2626
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
2727
<script src="../../_static/js/theme.js"></script>
@@ -3202,7 +3202,7 @@ <h1>Source code for dpnp.dpnp_iface_arraycreation</h1><div class="highlight"><pr
32023202
<a class="viewcode-back" href="../../reference/generated/dpnp.meshgrid.html#dpnp.meshgrid">[docs]</a>
32033203
<span class="k">def</span><span class="w"> </span><span class="nf">meshgrid</span><span class="p">(</span><span class="o">*</span><span class="n">xi</span><span class="p">,</span> <span class="n">copy</span><span class="o">=</span><span class="kc">True</span><span class="p">,</span> <span class="n">sparse</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span> <span class="n">indexing</span><span class="o">=</span><span class="s2">&quot;xy&quot;</span><span class="p">):</span>
32043204
<span class="w"> </span><span class="sd">&quot;&quot;&quot;</span>
3205-
<span class="sd"> Return coordinate matrices from coordinate vectors.</span>
3205+
<span class="sd"> Return a tuple of coordinate matrices from coordinate vectors.</span>
32063206

32073207
<span class="sd"> Make N-D coordinate arrays for vectorized evaluations of</span>
32083208
<span class="sd"> N-D scalar/vector fields over N-D grids, given</span>
@@ -3235,6 +3235,13 @@ <h1>Source code for dpnp.dpnp_iface_arraycreation</h1><div class="highlight"><pr
32353235
<span class="sd"> the elements of `xi` repeated to fill the matrix along the first</span>
32363236
<span class="sd"> dimension for `x1`, the second for `x2` and so on.</span>
32373237

3238+
<span class="sd"> See Also</span>
3239+
<span class="sd"> --------</span>
3240+
<span class="sd"> :obj:`dpnp.mgrid` : Construct a multi-dimensional &quot;meshgrid&quot; using</span>
3241+
<span class="sd"> indexing notation.</span>
3242+
<span class="sd"> :obj:`dpnp.ogrid` : Construct an open multi-dimensional &quot;meshgrid&quot; using</span>
3243+
<span class="sd"> indexing notation.</span>
3244+
32383245
<span class="sd"> Examples</span>
32393246
<span class="sd"> --------</span>
32403247
<span class="sd"> &gt;&gt;&gt; import dpnp as np</span>
@@ -3331,9 +3338,9 @@ <h1>Source code for dpnp.dpnp_iface_arraycreation</h1><div class="highlight"><pr
33313338

33323339
<span class="sd"> Returns</span>
33333340
<span class="sd"> -------</span>
3334-
<span class="sd"> out : one dpnp.ndarray or tuple of dpnp.ndarray</span>
3335-
<span class="sd"> Returns one array of grid indices,</span>
3336-
<span class="sd"> ``grid.shape = (len(dimensions),) + tuple(dimensions)``.</span>
3341+
<span class="sd"> out : dpnp.ndarray</span>
3342+
<span class="sd"> A single array, containing a set of arrays all of the same dimensions,</span>
3343+
<span class="sd"> stacked along the first axis.</span>
33373344

33383345
<span class="sd"> Examples</span>
33393346
<span class="sd"> --------</span>
@@ -3350,6 +3357,13 @@ <h1>Source code for dpnp.dpnp_iface_arraycreation</h1><div class="highlight"><pr
33503357
<span class="sd"> [0, 1, 2, 3, 4],</span>
33513358
<span class="sd"> [0, 1, 2, 3, 4]]])</span>
33523359

3360+
<span class="sd"> &gt;&gt;&gt; np.mgrid[0:4].shape</span>
3361+
<span class="sd"> (4,)</span>
3362+
<span class="sd"> &gt;&gt;&gt; np.mgrid[0:4, 0:5].shape</span>
3363+
<span class="sd"> (2, 4, 5)</span>
3364+
<span class="sd"> &gt;&gt;&gt; np.mgrid[0:4, 0:5, 0:6].shape</span>
3365+
<span class="sd"> (3, 4, 5, 6)</span>
3366+
33533367
<span class="sd"> Creating an array on a different device or with a specified usm_type</span>
33543368

33553369
<span class="sd"> &gt;&gt;&gt; x = np.mgrid[-1:1:5j] # default case</span>
@@ -3410,20 +3424,20 @@ <h1>Source code for dpnp.dpnp_iface_arraycreation</h1><div class="highlight"><pr
34103424

34113425
<span class="sd"> Returns</span>
34123426
<span class="sd"> -------</span>
3413-
<span class="sd"> out : one dpnp.ndarray or tuple of dpnp.ndarray</span>
3414-
<span class="sd"> Returns a tuple of arrays,</span>
3415-
<span class="sd"> with grid[i].shape = (1, ..., 1, dimensions[i], 1, ..., 1)</span>
3416-
<span class="sd"> with dimensions[i] in the i-th place.</span>
3427+
<span class="sd"> out : dpnp.ndarray or tuple of dpnp.ndarray</span>
3428+
<span class="sd"> If the input is a single slice, returns an array.</span>
3429+
<span class="sd"> If the input is multiple slices, returns a tuple of arrays, with</span>
3430+
<span class="sd"> only one dimension not equal to 1.</span>
34173431

34183432
<span class="sd"> Examples</span>
34193433
<span class="sd"> --------</span>
34203434
<span class="sd"> &gt;&gt;&gt; import dpnp as np</span>
34213435
<span class="sd"> &gt;&gt;&gt; np.ogrid[0:5, 0:5]</span>
3422-
<span class="sd"> [array([[0],</span>
3436+
<span class="sd"> (array([[0],</span>
34233437
<span class="sd"> [1],</span>
34243438
<span class="sd"> [2],</span>
34253439
<span class="sd"> [3],</span>
3426-
<span class="sd"> [4]]), array([[0, 1, 2, 3, 4]])]</span>
3440+
<span class="sd"> [4]]), array([[0, 1, 2, 3, 4]]))</span>
34273441

34283442
<span class="sd"> Creating an array on a different device or with a specified usm_type</span>
34293443

pull/2928/_modules/dpnp/dpnp_iface_bitwise.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
</script>
1515

1616
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
17-
<title>dpnp.dpnp_iface_bitwise &mdash; Data Parallel Extension for NumPy 0.21.0dev0+54.g6de8359fe50 documentation</title>
17+
<title>dpnp.dpnp_iface_bitwise &mdash; Data Parallel Extension for NumPy 0.21.0dev1+33.g9c8422ce329 documentation</title>
1818
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=03e43079" />
1919
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=9edc463e" />
2020

2121

2222
<script src="../../_static/jquery.js?v=5d32c60e"></script>
2323
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
24-
<script src="../../_static/documentation_options.js?v=e9834f9c"></script>
24+
<script src="../../_static/documentation_options.js?v=672ae725"></script>
2525
<script src="../../_static/doctools.js?v=9bcbadda"></script>
2626
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
2727
<script src="../../_static/js/theme.js"></script>

pull/2928/_modules/dpnp/dpnp_iface_counting.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
</script>
1515

1616
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
17-
<title>dpnp.dpnp_iface_counting &mdash; Data Parallel Extension for NumPy 0.21.0dev0+54.g6de8359fe50 documentation</title>
17+
<title>dpnp.dpnp_iface_counting &mdash; Data Parallel Extension for NumPy 0.21.0dev1+33.g9c8422ce329 documentation</title>
1818
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=03e43079" />
1919
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=9edc463e" />
2020

2121

2222
<script src="../../_static/jquery.js?v=5d32c60e"></script>
2323
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
24-
<script src="../../_static/documentation_options.js?v=e9834f9c"></script>
24+
<script src="../../_static/documentation_options.js?v=672ae725"></script>
2525
<script src="../../_static/doctools.js?v=9bcbadda"></script>
2626
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
2727
<script src="../../_static/js/theme.js"></script>

pull/2928/_modules/dpnp/dpnp_iface_functional.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
</script>
1515

1616
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
17-
<title>dpnp.dpnp_iface_functional &mdash; Data Parallel Extension for NumPy 0.21.0dev0+54.g6de8359fe50 documentation</title>
17+
<title>dpnp.dpnp_iface_functional &mdash; Data Parallel Extension for NumPy 0.21.0dev1+33.g9c8422ce329 documentation</title>
1818
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=03e43079" />
1919
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=9edc463e" />
2020

2121

2222
<script src="../../_static/jquery.js?v=5d32c60e"></script>
2323
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
24-
<script src="../../_static/documentation_options.js?v=e9834f9c"></script>
24+
<script src="../../_static/documentation_options.js?v=672ae725"></script>
2525
<script src="../../_static/doctools.js?v=9bcbadda"></script>
2626
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
2727
<script src="../../_static/js/theme.js"></script>

pull/2928/_modules/dpnp/dpnp_iface_histograms.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
</script>
1515

1616
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
17-
<title>dpnp.dpnp_iface_histograms &mdash; Data Parallel Extension for NumPy 0.21.0dev0+54.g6de8359fe50 documentation</title>
17+
<title>dpnp.dpnp_iface_histograms &mdash; Data Parallel Extension for NumPy 0.21.0dev1+33.g9c8422ce329 documentation</title>
1818
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=03e43079" />
1919
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=9edc463e" />
2020

2121

2222
<script src="../../_static/jquery.js?v=5d32c60e"></script>
2323
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
24-
<script src="../../_static/documentation_options.js?v=e9834f9c"></script>
24+
<script src="../../_static/documentation_options.js?v=672ae725"></script>
2525
<script src="../../_static/doctools.js?v=9bcbadda"></script>
2626
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
2727
<script src="../../_static/js/theme.js"></script>
@@ -1254,7 +1254,7 @@ <h1>Source code for dpnp.dpnp_iface_histograms</h1><div class="highlight"><pre>
12541254
<span class="sd"> H : dpnp.ndarray</span>
12551255
<span class="sd"> The multidimensional histogram of sample x. See density and weights</span>
12561256
<span class="sd"> for the different possible semantics.</span>
1257-
<span class="sd"> edges : list of {dpnp.ndarray or usm_ndarray}</span>
1257+
<span class="sd"> edges : list of dpnp.ndarray</span>
12581258
<span class="sd"> A list of D arrays describing the bin edges for each dimension.</span>
12591259

12601260
<span class="sd"> See Also</span>

0 commit comments

Comments
 (0)