o
    i$	                     @   s   d Z ddlmZmZmZ dZddlmZ ddlm	Z	m
Z
mZmZmZ ddlmZmZmZmZmZmZmZmZ e Ze ZddlmZ ejZd	d
 ZdddZdS )a  
Numexpr is a fast numerical expression evaluator for NumPy.  With it,
expressions that operate on arrays (like "3*a+4*b") are accelerated
and use less memory than doing the same calculation in Python.

See:

https://github.com/pydata/numexpr

for more info about it.

    )__BLOCK_SIZE1__MAX_THREADSuse_vmlF)E)NumExprdisassembleevaluatere_evaluatevalidate)_init_num_threadsdetect_number_of_coresdetect_number_of_threadsget_num_threadsget_vml_versionset_num_threadsset_vml_accuracy_modeset_vml_num_threads   )versionc                  C   s,   z
ddl } | j W S  ty   tdw )z6Print the versions of software that numexpr relies on.r   NT`numexpr.tests` could not be imported, likely it was excluded from the distribution.)numexpr.teststestsprint_versionsImportError)numexpr r   S/home/ubuntu/maya3_transcribe/venv/lib/python3.10/site-packages/numexpr/__init__.pyr   2   s   r   c                 C   s0   zddl }|jj| dW S  ty   tdw )z$Run all the tests in the test suite.r   N)	verbosityr   )r   r   testr   )r   r   r   r   r   r   ;   s   r   N)r   )__doc__numexpr.interpreterr   r   r   is_cpu_amd_intelnumexpr.expressionsr   numexpr.necompilerr   r   r   r	   r
   numexpr.utilsr   r   r   r   r   r   r   r   ncoresnthreads r   __version__r   r   r   r   r   r   <module>   s   
(	