Skip to content

Commit 3f1d3ab

Browse files
committed
Updating changes to reflect new documentation
1 parent 48d1ffb commit 3f1d3ab

File tree

8 files changed

+26
-7
lines changed

8 files changed

+26
-7
lines changed

__af_version__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
# http://arrayfire.com/licenses/BSD-3-Clause
1010
########################################################
1111

12-
version = "3.3"
13-
release = "20160624"
12+
version = "3.4"
13+
release = "20160925"
1414
full_version = version + "." + release

arrayfire/array.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,7 @@ class Array(BaseArray):
305305
- 'L' for unsigned 64 bit integer
306306
- 'F' for 32 bit complex number
307307
- 'D' for 64 bit complex number
308+
308309
- if arrayfire.Dtype, must be one of the following:
309310
- Dtype.f32 for float
310311
- Dtype.f64 for double
@@ -318,6 +319,7 @@ class Array(BaseArray):
318319
- Dtype.u64 for unsigned 64 bit integer
319320
- Dtype.c32 for 32 bit complex number
320321
- Dtype.c64 for 64 bit complex number
322+
321323
- if None, Dtype.f32 is assumed
322324
323325
Attributes

arrayfire/lapack.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ def cholesky(A, is_upper=True):
142142
(R,info): tuple of af.Array, int.
143143
- R - triangular matrix.
144144
- info - 0 if decomposition sucessful.
145+
145146
Note
146147
----
147148

arrayfire/random.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def get_seed():
186186
Get the seed for the random number generator.
187187
188188
Returns
189-
----------
189+
-------
190190
seed: int.
191191
Seed for the random number generator
192192
"""
@@ -221,7 +221,7 @@ def get_default_random_engine():
221221
Get the default random engine
222222
223223
Returns
224-
------
224+
-------
225225
226226
The default random engine used by randu and randn
227227
"""

arrayfire/sparse.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def create_sparse_from_dense(dense, storage = STORAGE.CSR):
115115
safe_call(backend.get().af_create_sparse_array_from_dense(c_pointer(out.arr), dense.arr, storage.value))
116116
return out
117117

118-
def create_sparse_to_dense(sparse):
118+
def convert_sparse_to_dense(sparse):
119119
"""
120120
Create a dense matrix from a sparse matrix.
121121
@@ -256,7 +256,7 @@ def sparse_get_storage(sparse):
256256
safe_call(backend.get().af_sparse_get_storage(c_pointer(storage), sparse.arr))
257257
return __to_sparse_enum[storage.value]
258258

259-
def sparse_convert_to(sparse, storage):
259+
def convert_sparse(sparse, storage):
260260
"""
261261
Convert sparse matrix from one format to another.
262262

docs/arrayfire.random.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
arrayfire.random module
2+
=========================
3+
4+
.. automodule:: arrayfire.random
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

docs/arrayfire.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Introduction
66

77
.. automodule:: arrayfire
88

9-
Submodules
9+
Submodules
1010
----------
1111

1212
.. autosummary::
@@ -27,6 +27,8 @@ Introduction
2727
arrayfire.lapack
2828
arrayfire.library
2929
arrayfire.opencl
30+
arrayfire.random
31+
arrayfire.sparse
3032
arrayfire.signal
3133
arrayfire.statistics
3234
arrayfire.timer

docs/arrayfire.sparse.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
arrayfire.sparse module
2+
=========================
3+
4+
.. automodule:: arrayfire.sparse
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy