[python-arrayfire] 37/58: Add missing enums from arrayfire 3.4 release
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Wed Sep 28 13:57:07 UTC 2016
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch master
in repository python-arrayfire.
commit bdfed50cdffdf04f6bbaadb773cf3440cfca3d3a
Author: Pavan Yalamanchili <contact at pavanky.com>
Date: Thu Sep 22 14:14:35 2016 -0700
Add missing enums from arrayfire 3.4 release
---
arrayfire/library.py | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/arrayfire/library.py b/arrayfire/library.py
index ef108d4..cbf85f2 100644
--- a/arrayfire/library.py
+++ b/arrayfire/library.py
@@ -373,6 +373,25 @@ class BINARYOP(_Enum):
MIN = _Enum_Type(2)
MAX = _Enum_Type(3)
+class RANDOM_ENGINE(_Enum):
+ """
+ Random engine types
+ """
+ PHILOX_4X32_10 = _Enum_Type(100)
+ THREEFRY_2X32_16 = _Enum_Type(200)
+ MERSENNE_GP11213 = _Enum_Type(300)
+ PHILOX = PHILOX_4X32_10
+ THREEFRY = THREEFRY_2X32_16
+ DEFAULT = PHILOX
+
+class STORAGE(_Enum):
+ """
+ Matrix Storage types
+ """
+ DENSE = _Enum_Type(0)
+ CSR = _Enum_Type(1)
+ CSC = _Enum_Type(2)
+ COO = _Enum_Type(3)
def _setup():
import platform
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-arrayfire.git
More information about the debian-science-commits
mailing list