File: api.rst

package info (click to toggle)
numexpr 2.14.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 784 kB
  • sloc: cpp: 4,250; python: 3,985; ansic: 369; makefile: 203
file content (28 lines) | stat: -rw-r--r-- 659 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
NumExpr API
===========

.. automodule:: numexpr
   :members: evaluate, re_evaluate, disassemble, NumExpr, get_vml_version, set_vml_accuracy_mode, set_vml_num_threads, set_num_threads, detect_number_of_cores, detect_number_of_threads

.. py:attribute:: ncores

    The number of (virtual) cores detected.

.. py:attribute:: nthreads

    The number of threads currently in-use.

.. py:attribute:: MAX_THREADS

    The maximum number of threads, as set by the environment variable ``NUMEXPR_MAX_THREADS``

.. py:attribute:: version

    The version of NumExpr.


Tests submodule
---------------

.. automodule:: numexpr.tests
   :members: test, print_versions