|
Server : Apache System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64 User : njnconst ( 1116) PHP Version : 8.4.18 Disable Function : NONE Directory : /proc/self/root/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/numerix/ |
Upload File : |
try:
from numpy.oldnumeric import Int8, UInt8, \
Int16, UInt16, \
Int32, UInt32, \
Float32, Float64, \
Complex32, Complex64, \
Float, Int, Complex
except ImportError:
from numpy import Int8, UInt8, \
Int16, UInt16, \
Int32, UInt32, \
Float32, Float64, \
Complex32, Complex64, \
Float, Int, Complex
class _TypeNamespace:
"""Numeric compatible type aliases for use with extension functions."""
Int8 = Int8
UInt8 = UInt8
Int16 = Int16
UInt16 = UInt16
Int32 = Int32
UInt32 = UInt32
Float32 = Float32
Float64 = Float64
Complex32 = Complex32
Complex64 = Complex64
nx = _TypeNamespace()
from numpy import inf, infty, Infinity
from numpy.random import rand, randn
infinity = Infinity
from numpy import all, isnan, any